Development and validation of an explainable artificial intelligence model to predict in-hospital adverse events for patients with acute myocardial infarction.
Xican Tian, Mengyuan Ji, Tao Wang, Yingliang Yang, Pixian Yuan, Yang Zhang, Congmin Zhu, Jinggang Xia,
School of Biomedical Engineering, Capital Medical University, Beijing, China. · Department of Cardiology, Xuanwu Hospital, Capital Medical University, Beijing, China.
Key points
From the paper's conclusion- We retrospectively analyzed 7,496 patients from the MIMIC-IV database as the development cohort and 2,776 patients from Xuanwu Hospital as the external validation cohort.
Abstract
In-hospital adverse events after acute myocardial infarction (AMI) can occur abruptly and adversely affect short-term prognosis. We developed and externally validated explainable machine learning models to predict a composite of in-hospital atrial fibrillation (AF), ventricular fibrillation (VF), cardiac arrest (CA), or death using routinely available admission data. We retrospectively analyzed 7,496 patients from the MIMIC-IV database as the development cohort and 2,776 patients from Xuanwu Hospital as the external validation cohort. Predictors included demographics, medical history, and admission laboratory tests. Logistic regression, random forest, extreme gradient boosting (XGBoost), multilayer perceptron, and TabNet models were evaluated using five-fold cross-validation. Performance was assessed using discrimination, classification, calibration, and decision curve analysis. Latent class analysis identified three outcome clusters with distinct event-probability profiles. XGBoost achieved the best performance for the composite outcome in the development cohort (AUROC, 0.798). Predictive performance was moderate to good for AF and in-hospital death, with AUROCs of up to 0.834 and 0.870 in the development cohort and 0.803 and 0.849 in the external validation cohort, respectively. Discrimination was lower for VF and CA. SHapley Additive exPlanations highlighted neutrophil and leukocyte counts, N-terminal pro-B-type natriuretic peptide, renal function, glucose, glycated hemoglobin A1c, and prior AF as important predictors. These explainable models may support early risk stratification and help guide monitoring intensity and timely intervention in patients with AMI.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Establishment and validation of a machine learning-based predictive model for in-hospital mortality risk in acute myocardial infarction patients complicated with diabetes mellitusFrontiers in Cardiovascular Medicine · 2026
- Machine learning for prediction of newly diagnosed atrial fibrillation after emergency percutaneous coronary intervention during hospitalization in patients with acute ST-segment elevation myocardial infarction: a multi-center prospective study.Frontiers in medicine · 2026
- Development and external validation of a machine learning model for predicting 28-day mortality in patients with acute myocardial infarction complicated by malignant arrhythmia: a study using the MIMIC database and a Chinese cohort.Frontiers in cardiovascular medicine · 2026
- Use of multi-modal artificial intelligence model for prediction of atrial fibrillation in hospitalized patients.Heart rhythm O2 · 2026
- Early prediction of in-hospital mortality in ICU patients with heart failure using an interpretable machine learning model: a retrospective study based on MIMIC-IVBMC Cardiovascular Disorders · 2026
- Early mortality prediction of prognosis in cardiac arrest patients using machine learning: Development, external validation, and explainability with SHAP.Injury · 2026