Machine learning is overtaking humans in predicting death or heart attack.