Machine learning could predict death or heart attack with over 90% accuracy: Study