A study found a machine learning model more accurately predicted major adverse cardiac events, such as heart attacks, than typical methods.