Predicting in-hospital mortality after cardiac surgery using machine learning: temporal validation in the MIMIC-IV database.
Jianhui Zhou, Chengxin Zhang
Department of Cardiovascular Surgery, The First Affiliated Hospital of Anhui Medical University, Hefei, Anhui, China.
Key points
From the paper's conclusion- This externally validated, interpretable XGBoost-SHAP framework moves beyond population-averaged associations. By uncovering specific non-linear thresholds (e.g., 65 h/week workload) and providing personalized risk profiles, it enables nurse managers to shift from reactive crisis management to data-driven, precision prevention of burnout in radiology nurses.
Abstract
BACKGROUND: Machine learning (ML) models have been increasingly applied to surgical risk prediction; however, their comparative performance and temporal generalizability remain inadequately evaluated. METHODS: A retrospective cohort study of 9,956 adult patients undergoing coronary artery bypass grafting and/or valve surgery was conducted using the MIMIC-IV v3.1 database. Logistic regression (LR), random forest (RF), and XGBoost models were developed without class weighting and tuned within nested cross-validation, trained on patients from 2008 to 2016 and temporally validated on patients from 2017 to 2019. Demographics, comorbidities, and 13 laboratory values available within 24 h of admission served as predictors. A class-weighted variant with isotonic recalibration was examined as a sensitivity analysis. RESULTS: In-hospital mortality was 2.1% in both the training and validation sets. In temporal validation, LR achieved the highest AUC (0.876), followed by RF (0.856) and XGBoost (0.831); the paired difference vs. XGBoost was +0.044 [95% CI (0.002, 0.084)], marginally excluding zero, whereas the difference vs. RF was not significant. Without class weighting, all three models were well calibrated (calibration intercepts near zero). Age, blood urea nitrogen, creatinine, and partial thromboplastin time were the most influential predictors. CONCLUSIONS: Under a fair comparison with tuned, unweighted models, logistic regression achieved the highest numerical discrimination, but the advantage was small and at most marginally significant. Logistic regression provides an interpretable and well-calibrated model for early-admission mortality risk stratification, whereas these data do not establish that tree-based models are intrinsically less temporally stable.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Optimizing In-Hospital Mortality Prediction After Cardiac Surgery: A Machine Learning Approach Using Feature Engineering for Imbalanced Data.Diagnostics (Basel, Switzerland) · 2026
- Risk assessment in cardiac surgery: Exploring machine learning and laboratory indices as adjunctive toolsPLoS ONE · 2026
- Machine-Learning Derived Individual Risk Prediction in Congenital Heart Surgery: Development and internal validation of risk prediction models for in-hospital mortality after congenital heart surgery using data from the Pediatric Cardiac Critical Care Consortium (PC4) registry.American heart journal · 2026
- Machine-Learning Versus Traditional Scores for Predicting Outcomes After Coronary Artery Bypass Graft Surgery: A Systematic Review and Meta-Analysis.Surgical innovation · 2026
- External Validation of Clinical Risk Scores and Machine Learning Models for Predicting 30-Day Cardiovascular Risk After Noncardiac Surgery: The PERICARE Study.Journal of clinical medicine · 2026
- 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