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 Jul-Sep;108(3):368504251370452.
doi: 10.1177/00368504251370452. Epub 2025 Aug 25.

Interpretable machine learning model for predicting myocardial injury in intensive care unit patients using SHapley Additive exPlanations analysis

Affiliations

Interpretable machine learning model for predicting myocardial injury in intensive care unit patients using SHapley Additive exPlanations analysis

Xiaojiang Liu et al. Sci Prog. 2025 Jul-Sep.

Abstract

ObjectiveThe identification of myocardial injury in the intensive care unit (ICU) has received little attention from researchers. Therefore, this retrospective cohort study aimed to develop a machine-learning model to predict the occurrence of myocardial injury in the ICU.MethodsBased on the Clinical Research Data Platform of Peking University People's Hospital, we enrolled adult, non-cardiac surgical, and non-obstetric patients who were admitted to the ICU between 2012 and 2022. Logistic regression, random forest, LASSO regression, support vector machine and extreme gradient boosting (XGBoost) models were developed to predict myocardial injury.ResultsData from 7453 non-cardiac surgery adult patients in ICU were collected in the derivation cohort (myocardial injury group: 2161 [29%], non-myocardial injury group: 5292 [71%]). Among the five models, the XGBoost model (area under the curve = 0.779; accuracy = 0.781) exhibited the best predictive performance for myocardial injury and the results were explained by the SHapley Additive exPlanations analysis. The top six features of the XGBoost model were maximal heart rate, respiratory rate, temperature, minimal heart rate, age and plasma transfusion.ConclusionThis machine-learning model, developed using the XGBoost algorithm, could be a valuable tool for clinical decision-making and detecting myocardial injury in the ICU.

Keywords: Intensive care unit; SHapley Additive exPlanations; machine learning; myocardial injury; non-cardiac surgery.

PubMed Disclaimer

Conflict of interest statement

Declaration of conflicting interestsThe authors declared no potential conflicts of interest with respect to the research, authorship and/or publication of this article.

Figures

Figure 1.
Figure 1.
Flowchart of screening. Flow chart of patients enrolled to build a predictive machine learning model for myocardial injury. ICU, intensive care unit.
Figure 2.
Figure 2.
(a) Receiver operating characteristic curves of the five predictive models in the external validation cohort. XGB yielded the highest AUC for single-model prediction. (b) Multiple decision curve of five predictive models. The x-axis indicates the threshold probability for the myocardial injury outcome, and the y-axis indicates the net benefit.
Figure 3.
Figure 3.
(a) A variable importance bee swarm plot was constructed using sHapley additive exPlanations (SHAP) summary tool for the myocardial injury prediction extreme gradient boosting model. According to the SHAP value of each feature, the maximal HR (h _max), maximal respiratory rate (rr_max), and age (yellow dots) were associated with a higher probability of myocardial injury (right side of the vertical dotted line). (b) Variable importance bar chart showing the mean absolute SHapley Additive exPlanations (SHAP) value of each feature and indicates its effect on the output of the extreme gradient boosting model.
Figure 4.
Figure 4.
(a) Single-sample waterfall plot for patient ID 10 showing each step from the baseline value to the final predicted value, with each step corresponding to the contribution of a feature. Each level in the waterfall plot represents the contribution of a feature, which can be positive or negative. By observing the cumulative effects of these contributions, we can identify the features that have a significant impact on the final predicted value. For patient ID 10, the overall impact was negative. (b) Single-sample waterfall plot for Inpatient ID 1010, the overall impact is positive, in which the feature of maximal HR (hr_max) contributes the most to the predictive output. (c) Force plot for patient ID 10 shows the relationship between the feature values of each sample and the corresponding SHapley Additive exPlanations (SHAP) values. The features of patient ID 10 are represented in purple and indicate a negative probability of myocardial injury. (d) Force plot for patient ID 1010, in contrast to (c), the features of patient ID 1010 are represented in yellow and purple, where the purple part is overwhelmed by yellow, indicating a positive probability of myocardial injury.
Figure 5.
Figure 5.
Partial dependence plot. Each dependence plot shows how the features affect each other and the output of the predictive model, where each dot represents one patient. SHapley Additive exPlanations (SHAP) values are represented on the y-axis. The x-axis represents the actual values of one feature, and the values of the other features are depicted by a colour gradient from yellow to purple in descending order. A SHAP value for specific features exceeding zero pushes the decision toward myocardial injury.

Similar articles

References

    1. Guest TM, Ramanathan AV, Tuteur PG, et al. Myocardial injury in critically ill patients. a frequently unrecognized complication. JAMA 1995; 273: 1945–1949. - PubMed
    1. Valadkhani A, Gupta A, Cauli G, et al. Diastolic versus systolic or mean intraoperative hypotension as predictive of perioperative myocardial injury in a white-box machine-learning model. Anesth Analg 2025; 141: 5–15. - PMC - PubMed
    1. Shin SJ, Park J, Lee SH, et al. Predictability of mortality in patients with myocardial injury after noncardiac surgery based on perioperative factors via machine learning: retrospective study. JMIR Med Inform 2021; 9: e32771. - PMC - PubMed
    1. Puelacher C, Lurati Buse G, Seeberger D, et al. Perioperative myocardial injury after noncardiac surgery: incidence, mortality, and characterization. Circulation 2018; 137: 1221–1232. - PubMed
    1. Liu Y, Chen S, Tian Zet al. et al. Identification of high-risk patients for postoperative myocardial injury after CME using machine learning: a 10-year multicenter retrospective study. Int J Gen Med 2023; 16: 1251–1264. - PMC - PubMed

LinkOut - more resources