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
. 2025 May 28:13:e72349.
doi: 10.2196/72349.

Machine Learning for the Prediction of Acute Kidney Injury in Critically Ill Patients With Coronary Heart Disease: Algorithm Development and Validation

Affiliations

Machine Learning for the Prediction of Acute Kidney Injury in Critically Ill Patients With Coronary Heart Disease: Algorithm Development and Validation

Yike Li et al. JMIR Med Inform. .

Abstract

Background: Acute kidney injury (AKI) frequently occurs in critically ill patients with coronary heart disease (CHD), and its development markedly elevates mortality rates and prolongs hospitalization duration. Early AKI prediction is crucial for timely intervention and amelioration of patient outcomes.

Objective: This study aimed to develop and verify a clinical prediction model for the occurrence of AKI upon admission in the critically ill population with CHD through machine learning (ML).

Methods: Data from the MIMIC-IV (Medical Information Mart for Intensive Care IV) version 2.2 database were gathered and included information about critically ill individuals with CHD in the intensive care unit (ICU). The dataset was randomized into a training set (70%) and a testing set (30%). Least absolute shrinkage and selection operator (LASSO) regression was used for feature variable selection. ML models, including logistic regression (LR), decision tree (DT), naive Bayes (NB), random forest (RF), extreme gradient boosting (XGBoost), and support vector machine (SVM), were constructed using 13 variables in the training set. The 6 models were compared in the testing set to identify the best-performing model. Subsequently, the model was assessed using calibration curve analysis and decision curve analysis (DCA). External validation was conducted using data from the Second Affiliated Hospital of Zhengzhou University. Ultimately, the predictive model was interpreted via Shapley Additive Explanation (SHAP) values.

Results: In total, 2711 patients with CHD admitted to the ICU were selected, with 1809 (66.7%) having AKI. XGBoost exhibited the best performance regarding discrimination (area under the receiver operating characteristic curve [AUROC]=0.765, 95% CI 0.731-0.800), accuracy (0.725), and sensitivity (0.759). External validation using a cohort of 226 patients confirmed the strong generalizability of the XGBoost model (AUROC=0.835, 95% CI 0.782-0.887). Feature importance analyses derived from SHAP values, DT, RF, and XGBoost consistently identified 5 key predictors associated with the development of AKI: mechanical ventilation, use of antiplatelet agents, age, N-terminal pro-B-type natriuretic peptide (NT-proBNP) levels, and acute physiology score III (APSIII).

Conclusions: ML models can serve as reliable tools for forecasting AKI in the critically ill population with CHD. The XGBoost model is highly accurate and may aid doctors in identifying high-risk individuals for early intervention to lower mortality.

Keywords: MIMIC-IV database; acute kidney injury; coronary artery disease; coronary heart disease; machine learning.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1
Figure 1
Participant-screening process diagram. AKI: acute kidney injury; ICU: intensive care unit; MIMIC-IV: Medical Information Mart for Intensive Care IV.
Figure 2
Figure 2
Comparison of AUC values across 6 models: (a) training set and (b) testing set. AUC: area under the curve; KNB: kernel naive Bayes; SVM: support vector machine; XGBoost: extreme gradient boosting.
Figure 3
Figure 3
Calibration curve of the XGBoost model: (a) training set and (b) testing set. DCA of the XGBoost model: (c) training set and (d) testing set. DCA: decision curve analysis; XGBoost: extreme gradient boosting.
Figure 4
Figure 4
(a) Comparison of AUC values of the 6 models in the external validation set and (b) the calibration curve and (c) the DCA curve of the XGBoost model. AUC: area under the curve; DCA: decision curve analysis; KNB: kernel naive Bayes; SVM: support vector machine; XGBoost: extreme gradient boosting.
Figure 5
Figure 5
Feature importance derived from (a) XGBoost, (b) DT, and (c) RF models, along with (d) SHAP analysis summary diagram based on XGBoost. Each row represents a feature; a point represents a sample; yellow represents a high feature value; and purple represents a low feature value. A further distance from a point to the baseline SHAP value of 0 indicates a greater impact on the output. AMI: acute myocardial infarction; APSIII: acute physiology score III; NLR: neutrophil-to-lymphocyte ratio; NT-proBNP: N-terminal pro–B-type natriuretic peptide.
Figure 6
Figure 6
SHAP force plot of (a) a patient with AKI and (b) a patient without AKI. Features contributing to an increase in the predicted value are shown in yellow, whereas those contributing to a decrease are shown in red. The length of the arrows represents the magnitude of each feature’s influence on the model output. The scale on the x-axis indicates the extent to which each feature increases or decreases the predicted value. AKI: acute kidney injury; AMI: acute myocardial infarction; NT-proBNP: N-terminal pro–B-type natriuretic peptide; SHAP: Shapley Additive Explanation.

Similar articles

References

    1. Chang C, Fu C, Yang C, Fan P, Li P, Hsu G, Chen S, Yang C, Chen C, Chen Y. Society of Thoracic Surgeons score predicts kidney injury in patients not undergoing bypass surgery. Ann Thorac Surg. 2015 Jan;99(1):123–9. doi: 10.1016/j.athoracsur.2014.07.072.S0003-4975(14)01663-4 - DOI - PubMed
    1. Bagur R, Webb JG, Nietlispach F, Dumont E, De Larochellière R, Doyle D, Masson J, Gutiérrez MJ, Clavel M, Bertrand OF, Pibarot P, Rodés-Cabau J. Acute kidney injury following transcatheter aortic valve implantation: predictive factors, prognostic value, and comparison with surgical aortic valve replacement. Eur Heart J. 2010 Apr;31(7):865–74. doi: 10.1093/eurheartj/ehp552. https://europepmc.org/abstract/MED/20037180 ehp552 - DOI - PMC - PubMed
    1. Schiefer J, Bernardi MH, Lichtenegger P, Schak G, Atallah L, Ristl R, Ramazanova D, Faybik P. Incidence and outcomes of AKI in postoperative patients admitted to ICU using full KDIGO criteria - a cohort study. J Clin Anesth. 2023 Oct;89:111156. doi: 10.1016/j.jclinane.2023.111156. https://linkinghub.elsevier.com/retrieve/pii/S0952-8180(23)00106-X S0952-8180(23)00106-X - DOI - PubMed
    1. Ma K, Li J, Shen G, Zheng D, Xuan Y, Lu Y, Li W. Development and validation of a risk nomogram model for predicting contrast-induced acute kidney injury in patients with non-ST-elevation acute coronary syndrome undergoing primary percutaneous coronary intervention. Clin Interv Aging. 2022;17:65–77. doi: 10.2147/CIA.S349159. https://www.tandfonline.com/doi/abs/10.2147/CIA.S349159?url_ver=Z39.88-2... 349159 - DOI - DOI - PMC - PubMed
    1. Peng X, Li L, Wang X, Zhang H. A machine learning-based prediction model for acute kidney injury in patients with congestive heart failure. Front Cardiovasc Med. 2022 Mar 4;9:842873. doi: 10.3389/fcvm.2022.842873. https://europepmc.org/abstract/MED/35310995 - DOI - PMC - PubMed

LinkOut - more resources