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
. 2024 Dec 24;14(1):30629.
doi: 10.1038/s41598-024-80575-z.

Machine learning for predicting acute myocardial infarction in patients with sepsis

Affiliations

Machine learning for predicting acute myocardial infarction in patients with sepsis

Shusheng Fang et al. Sci Rep. .

Abstract

Acute myocardial infarction (AMI) and sepsis are the leading causes of high mortality rates in intensive care units. While sepsis frequently affects the cardiovascular system, distinguishing between sepsis-induced cardiomyopathy and AMI remains challenging due to overlapping biomarkers. Misdiagnosis can hinder timely treatment and increase risk of complications. This study used multidimensional clinical data and machine learning techniques to develop and validate a novel predictive model for identifying AMI in critically ill patients with sepsis. Data from patients with sepsis were extracted from the Medical Information Mart for Intensive Care-IV database. Six machine learning algorithms were employed for model construction. Additionally, the machine learning-based models were compared with traditional scoring systems. Model performance was evaluated in terms of discrimination, calibration, and clinical applicability. In total, 2,103 critically ill patients with sepsis were included, 459 (21.8%) of whom experienced AMI during hospitalization. A total of 26 variables were selected for model construction. Among all models, the Gradient Boosting Classifier model demonstrated the best predictive performance in terms of discrimination, calibration, and clinical applicability. Machine learning models have the potential to serve as tools for predicting AMI in patients with sepsis. The Gradient Boosting Classifier model developed herein demonstrated promising predictive performance, supporting clinicians in identifying patients at high-risk of sepsis and implementing early interventions to reduce mortality rates.

Keywords: Acute myocardial infarction; MIMIC-IV database; Machine learning; Prediction model; Sepsis.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Flowchart of patient selection. MIMIC-IV medical information mort for intensive care, ICU intensive care unit.
Fig. 2
Fig. 2
Feature selection based on the Boruta algorithm. The horizontal axis represents all variables, and the vertical axis represents the Z value of each variable. The box plot shows the Z values of each variable during model calculation. The green boxes represent the first 26 important variables, the yellow boxes represent tentative attributes, and the red boxes represent unimportant variables.
Fig. 3
Fig. 3
Receiver operating characteristic curves of the eleven models. Figure (a) Includes 6 machine models; Figure (b) includes five traditional scoring systems. LR logistic regression, KNN k-nearest neighbors, RF random forest, GBC gradient boosting classifier, SVC support vector, DT decision tree, APS III acute physiology score III, LODS logistic organ dysfunction system, CCI Charlson comorbidity index, SOFA sequential organ failure assessment, OASIS Oxford acute severity of illness scale, AUC area under the curve.
Fig. 4
Fig. 4
Recall vs. decision boundary T curves for sepsis patients with acute myocardial infarction (AMI) and non-AMI patients for the top performing model, the gradient boosting classifier. At the default classification of T = 0.5 (middle dotted line), the recall rate was 0.94 for non-AMI patients and 0.25 for AMI patients. For T = 0.77 (right dotted line), the recall rates for non-AMI and AMI patients were both 0.75, representing a large improvement in identifying AMI patients, with only a small decrease in the recall rate (19%) for non-AMI patients.
Fig. 5
Fig. 5
Recall vs. decision boundary curves for AMI patients and non-AMI patients according to all 11 ML models. Figure (a) includes 6 machine models; Fig. (b) includes five traditional scoring systems. The gradient boosting classifier model performed the best. The metrics are shown in Table 2.
Fig. 6
Fig. 6
ROC curve for the gradient boosting classifier. The 2-standard deviation spread representing the testing performance for models trained on Nboot bootstrapped samples is also plotted.
Fig. 7
Fig. 7
Decision curve analyses of the six models.
Fig. 8
Fig. 8
Feature importance derived from the gradient boosting classifier model. SHAP revealed the top 10 features that had the greatest impact on the GBC model predictions.

Similar articles

Cited by

References

    1. Rhodes, A. et al. Surviving sepsis campaign: International guidelines for Management of Sepsis and Septic Shock: 2016. Intensive Care Med.43, 304–377 (2017). - PubMed
    1. Song, J. et al. Diagnostic and prognostic value of interleukin-6, pentraxin 3, and procalcitonin levels among sepsis and septic shock patients: a prospective controlled study according to the Sepsis-3 definitions. BMC Infect. Dis.19, 968 (2019). - PMC - PubMed
    1. Frencken, J. F. et al. Myocardial Injury in patients with sepsis and its association with long-term outcome. Circ: Cardiovasc. Qual. Outcomes11, e004040 (2018). - PubMed
    1. Kakihana, Y., Ito, T., Nakahara, M., Yamaguchi, K. & Yasuda, T. Sepsis-induced myocardial dysfunction: pathophysiology and management. J. Intensive Care4, 22 (2016). - PMC - PubMed
    1. Lin, Y. M. et al. Association of sepsis-induced cardiomyopathy and mortality: a systematic review and meta-analysis. Ann. Intensiv. Care12, 112 (2022). - PMC - PubMed

LinkOut - more resources