Machine-learning-based predictive model for new-onset atrial fibrillation after isolated cardiac valve surgery
Objective New-onset postoperative atrial fibrillation (NOAF) is one of the most common postoperative complications in patients undergoing cardiac valve surgery and is strongly associated with adverse clinical outcomes. Traditional risk tools have limitations in predicting NOAF. This study aimed to develop and validate a machine learning (ML) predictive model for NOAF after isolated cardiac valve surgery. Methods This retrospective analysis was conducted on 967 patients who underwent isolated cardiac valve surgery at the Department of Cardiovascular Surgery of the First Affiliated Hospital of Zhengzhou University from January 2019 to December 2025. Patients were stratified into two groups according to the development of NOAF after surgery. Baseline characteristics and perioperative data were collected from the two groups of patients. The baseline variables were screened to identify potential predictors via three methods, including univariable and multivariable logistic regression, least absolute shrinkage and selection operator (LASSO) regression and Boruta algorithm. Seven supervised machine learning algorithms were used to build prediction models. We evaluated their performance using area under the ROC curve (AUC), accuracy, sensitivity, specificity, F1 score, Calibration Curves, and the Decision Curve Analysis. SHapley Additive exPlanations (SHAP) values were computed and plotted to interpret the contribution of individual features to model predictions. Results A total of 967 patients were included in this study and randomly partitioned into a training cohort (n = 581) and a test cohort (n = 386) at a 60:40 ratio. Eight candidate predictors were finally identified by the intersection of the three feature selection strategies. Among the models compared, the XGBoost model demonstrated the best performance including the highest AUC (0.775), sensitivity (0.747), calibration, and had good net benefit in the validation cohort. The SHAP summary analysis showed that N-terminal pro-B-type natriuretic peptide (NT-proBNP), postoperative temperature, and operative time were the top three risk features for outcome prediction. The SHAP dependency plot and SHAP waterfall plot provided interpretations of the model at the feature level and individual patient level, respectively. Conclusion We successfully developed, validated, and interpreted a machine learning-based model for predicting New-onset postoperative atrial fibrillation (NOAF) in patients undergoing isolated cardiac valve surgery. The XGBoost model could be clinical referenced after external validation and improvement.
Authors
- Xinyi Yu (ORCID: https://orcid.org/0009-0005-5425-7666)
- Xiangwei Bu
- Jingchao Zhang
- Kangbo Liu
- Jinglin Li
- Xiaolei Zhao
Institutions
- First Affiliated Hospital of Zhengzhou University (CN)
Publication Details
- Journal
- Frontiers in Cardiovascular Medicine
- Published
- 2026-11-30
- DOI
- https://doi.org/10.3389/fcvm.2026.2026547
- Primary Topic
- Atrial Fibrillation Management and Outcomes
- Type
- article
- Field-Weighted Citation Impact
- 0.00