An In-Hospital Mortality Risk Model for Patients Undergoing Coronary Artery Bypass Grafting Based on Machine Learning: Cohort Study
Open Access
- 25 May 2026
- journal article
- Published by JMIR Publications Inc. in JMIR Formative Research
- Vol. 10, e80671
Abstract
Background: Ischemic heart disease remains the leading cause of death worldwide. Coronary artery bypass grafting (CABG) remains the primary surgical treatment for ischemic heart disease. There is currently a lack of highly accurate and widely applicable models for assessing the risk of postoperative mortality following CABG. Objective: This study aimed to develop and validate an in-hospital mortality risk prediction system for patients undergoing coronary artery bypass grafting (CABG) by using machine learning algorithms and to compare its performance with the European System for Cardiac Operative Risk Evaluation II (EuroSCORE II) and Sino System for Coronary Operative Risk Evaluation (SinoSCORE). Methods: Between January 2017 and December 2020, 21,443 patients undergoing CABG in the Chinese Cardiac Surgery Registry were included. Patients were randomly divided into training (n=17,753) and test (n=3690) cohorts. We addressed class imbalance using the synthetic minority oversampling technique (SMOTE) and optimized hyperparameters via grid search. Fifteen machine learning algorithms were developed to predict in-hospital mortality. Performance was evaluated using the area under the receiver operating characteristic curve (AUC), calibration metrics (Brier score), and decision curve analysis, and was compared against EuroSCORE II and SinoSCORE. Results: A total of 21,443 patients were included. Overall, in-hospital mortality was 2.1% (n=450). The Extreme Gradient Boosting (XGBoost) model achieved the best performance with an AUC of 0.850 in the training cohort and 0.782 in the independent test cohort (this cohort was independent and not involved in model construction). While EuroSCORE II showed an AUC of 0.722 and SinoSCORE showed an AUC of 0.726 in the test cohort, the XGBoost model demonstrated superior discrimination and calibration (P<.05). Conclusions: Our study developed and validated a machine learning–based risk prediction model for in-hospital mortality after CABG by using a large-scale Chinese multicenter registry. Among the algorithms tested, the XGBoost model demonstrated superior discrimination and calibration compared with the traditional EuroSCORE II and SinoSCORE, suggesting that locally calibrated models may better capture the risk profile of Chinese patients. The derived 7-variable web calculator may serve as an exploratory auxiliary tool to provide a preliminary reference for bedside risk stratification, though its direct impact on surgical decision-making requires further prospective validation. Future research should focus on independent test cohorts across diverse hospital tiers to ensure broad generalizability.Keywords
All Related Versions
This publication has 33 references indexed in Scilit:
- The Society of Thoracic Surgeons Adult Cardiac Surgery Database: 2023 Update on Procedure Data and ResearchThe Annals of Thoracic Surgery, 2023
- Machine Learning to Predict Outcomes and Cost by Phase of Care After Coronary Artery Bypass GraftingThe Annals of Thoracic Surgery, 2022
- Current Penetration, Completeness, and Representativeness of The Society of Thoracic Surgeons Adult Cardiac Surgery DatabaseThe Annals of Thoracic Surgery, 2022
- An In-hospital Mortality Risk Model for Patients Undergoing Coronary Artery Bypass Grafting in ChinaThe Annals of Thoracic Surgery, 2020
- The Society of Thoracic Surgeons 2018 Adult Cardiac Surgery Risk Models: Part 2—Statistical Methods and ResultsThe Annals of Thoracic Surgery, 2018
- Prediction of 30-Day All-Cause Readmissions in Patients Hospitalized for Heart FailureJAMA Cardiology, 2017
- Meta-Analysis Comparing Established Risk Prediction Models (EuroSCORE II, STS Score, and ACEF Score) for Perioperative Mortality During Cardiac SurgeryThe American Journal of Cardiology, 2016
- The Chinese Cardiac Surgery Registry: Design and Data AuditThe Annals of Thoracic Surgery, 2016
- SinoSCORE: a logistically derived additive prediction model for post-coronary artery bypass grafting in-hospital mortality in a Chinese populationFrontiers of Medicine, 2013
- Comparison of Six Risk Scores for In-hospital Mortality in Chinese Patients Undergoing Heart Valve SurgeryHeart, Lung and Circulation, 2013