Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Multicenter Study
. 2024 Oct 29;28(1):349.
doi: 10.1186/s13054-024-05138-0.

Interpretable machine learning model for new-onset atrial fibrillation prediction in critically ill patients: a multi-center study

Affiliations
Multicenter Study

Interpretable machine learning model for new-onset atrial fibrillation prediction in critically ill patients: a multi-center study

Chengjian Guan et al. Crit Care. .

Abstract

Background: New-onset atrial fibrillation (NOAF) is the most common arrhythmia in critically ill patients admitted to intensive care and is associated with poor prognosis and disease burden. Identifying high-risk individuals early is crucial. This study aims to create and validate a NOAF prediction model for critically ill patients using machine learning (ML).

Methods: The data came from two non-overlapping datasets from the Medical Information Mart for Intensive Care (MIMIC), with MIMIC-IV used for training and subset of MIMIC-III used as external validation. LASSO regression was used for feature selection. Eight ML algorithms were employed to construct the prediction model. Model performance was evaluated based on identification, calibration, and clinical application. The SHapley Additive exPlanations (SHAP) method was used for visualizing model characteristics and individual case predictions.

Results: Among 16,528 MIMIC-IV patients, 1520 (9.2%) developed AF post-ICU admission. A model with 23 variables was built, with XGBoost performing best, achieving an AUC of 0.891 (0.873-0.888) in validation and 0.769 (0.756-0.782) in external validation. Key predictors included age, mechanical ventilation, urine output, sepsis, blood urea nitrogen, percutaneous arterial oxygen saturation, continuous renal replacement therapy and weight. A risk probability greater than 0.6 was defined as high risk. A friendly user interface had been developed for clinician use.

Conclusion: We developed a ML model to predict the risk of NOAF in critically ill patients without cardiac surgery and validated its potential as a clinically reliable tool. SHAP improves the interpretability of the model, enables clinicians to better understand the causes of NOAF, helps clinicians to prevent it in advance and improves patient outcomes.

Keywords: Critically ill patients; MIMIC database; Machine learning; New-onset atrial fibrillation; Predictive models.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Patient screening flow from the MIMIC database. NOAF: new-onset atrial fibrillation
Fig. 2
Fig. 2
Lasso regression-based variable screening. A. Variation characteristics of variable coefficients; B. The process of selecting the optimal value of the parameter λ in the lasso regression model is carried out by the cross-validation method
Fig. 3
Fig. 3
ROC curves for the machine learning models. XGBoost: extreme gradient boosting; SVM: support vector machine; Adaboost: adaptive boosting; MLP: multilayer perceptron; NN: neural network; NB: naive bayes; LR: logistic regression; GBM: gradient boosting machine; ROC: receiver operating characteristic; AUC: area under the curve
Fig. 4
Fig. 4
Calibration capability and clinical benefit of the model. A. Calibration curve B. Clinical Impact Curve (CIC) C. Decision curve analysis (DCA), XGBoost: extreme gradient boosting; SVM: support vector machine; Adaboost: adaptive boosting; MLP: multilayer perceptron; NN: neural network; NB: naive bayes; LR: logistic regression; GBM: gradient boosting machine.
Fig. 5
Fig. 5
Visually interpret machine learning models using SHAP. A SHAP summary point. B SHAP force plot. SBP: systolic blood pressure; BUN: blood urea nitrogen; SpO2: percutaneous arterial oxygen saturation; WBC: white blood cell; MBP: mean blood pressure; DBP: diastolic blood pressure; HFrEF: heart failure with reduced ejection fraction; HFpEF: heart failure with preserved ejection fraction

References

    1. Bosch NA, Cimini J, Walkey AJ. Atrial Fibrillation in the ICU. Chest. 2018;154(6):1424–34. - PMC - PubMed
    1. Wetterslev M, Haase N, Hassager C, et al. New-onset atrial fibrillation in adult critically ill patients: a scoping review. Intensive Care Med. 2019;45(7):928–38. - PubMed
    1. Walkey AJ, Ambrus D, Benjamin EJ. The role of arrhythmias in defining cardiac dysfunction during sepsis. Am J Respir Crit Care Med. 2013;188(6):751. - PMC - PubMed
    1. Kim K, Yang PS, Jang E, et al. Long-term impact of newly diagnosed atrial fibrillation during critical care: a south korean nationwide cohort study. Chest. 2019;156(3):518–28. - PubMed
    1. Bedford JP, Ferrando-Vivas P, Redfern O, et al. New-onset atrial fibrillation in intensive care: epidemiology and outcomes. Eur Heart J Acute Cardiovasc Care. 2022;11(8):620–8. - PMC - PubMed

Publication types

LinkOut - more resources