Prediction of longitudinal clinical outcomes after acute myocardial infarction using a dynamic machine learning algorithm | Synapse