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
. 2023 Aug 24;23(1):165.
doi: 10.1186/s12911-023-02240-1.

Development and comparison of machine learning-based models for predicting heart failure after acute myocardial infarction

Affiliations

Development and comparison of machine learning-based models for predicting heart failure after acute myocardial infarction

Xuewen Li et al. BMC Med Inform Decis Mak. .

Abstract

Aims: Heart failure (HF) is one of the common adverse cardiovascular events after acute myocardial infarction (AMI), but the predictive efficacy of numerous machine learning (ML) built models is unclear. This study aimed to build an optimal model to predict the occurrence of HF in AMI patients by comparing seven ML algorithms.

Methods: Cohort 1 included AMI patients from 2018 to 2019 divided into HF and control groups. All first routine test data of the study subjects were collected as the features to be selected for the model, and seven ML algorithms with screenable features were evaluated. Cohort 2 contains AMI patients from 2020 to 2021 to establish an early warning model with external validation. ROC curve and DCA curve to analyze the diagnostic efficacy and clinical benefit of the model respectively.

Results: The best performer among the seven ML algorithms was XgBoost, and the features of XgBoost algorithm for troponin I, triglycerides, urine red blood cell count, γ-glutamyl transpeptidase, glucose, urine specific gravity, prothrombin time, prealbumin, and urea were ranked high in importance. The AUC of the HF-Lab9 prediction model built by the XgBoost algorithm was 0.966 and had good clinical benefits.

Conclusions: This study screened the optimal ML algorithm as XgBoost and developed the model HF-Lab9 will improve the accuracy of clinicians in assessing the occurrence of HF after AMI and provide a reference for the selection of subsequent model-building algorithms.

Keywords: Acute myocardial infarction; Extreme gradient boosting; Heart failure; Machine learning; Model.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

Fig. 1
Fig. 1
Feature importance ranking of the 9 features in the HF-Lab9 model
Fig. 2
Fig. 2
(A) The ROC curves of HF-Lab9 model constructed by machine learning XgBoost algorithm, (B) The DCA of HF-Lab9 model constructed by machine learning XgBoost algorithm

Similar articles

Cited by

References

    1. Jenca D, Melenovsky V, Stehlik J, Stanek V, Kettner J, Kautzner J, Adamkova V, Wohlfahrt P. Heart failure after myocardial infarction: incidence and predictors. ESC Heart Fail. 2021;8(1):222–37. doi: 10.1002/ehf2.13144. - DOI - PMC - PubMed
    1. Hung J, Teng TH, Finn J, Knuiman M, Briffa T, Stewart S, Sanfilippo FM, Ridout S, Hobbs M. Trends from 1996 to 2007 in incidence and mortality outcomes of heart failure after acute myocardial infarction: a population-based study of 20,812 patients with first acute myocardial infarction in western Australia. J Am Heart Assoc. 2013;2(5):e000172. doi: 10.1161/JAHA.113.000172. - DOI - PMC - PubMed
    1. Sulo G, Igland J, Vollset SE, Nygard O, Ebbing M, Sulo E, Egeland GM, Tell GS. Heart failure complicating Acute myocardial infarction; burden and timing of occurrence: a Nation-wide analysis including 86 771 patients from the Cardiovascular Disease in Norway (CVDNOR) Project. J Am Heart Assoc 2016, 5(1). - PMC - PubMed
    1. He J, Yi S, Zhou Y, Hu X, Lun Z, Dong H, Zhang Y. B-Lines by Lung Ultrasound can predict worsening Heart failure in Acute Myocardial Infarction during hospitalization and short-term Follow-Up. Front Cardiovasc Med. 2022;9:895133. doi: 10.3389/fcvm.2022.895133. - DOI - PMC - PubMed
    1. Ponikowski P, Anker SD, AlHabib KF, Cowie MR, Force TL, Hu S, Jaarsma T, Krum H, Rastogi V, Rohde LE, et al. Heart failure: preventing disease and death worldwide. ESC Heart Fail. 2014;1(1):4–25. doi: 10.1002/ehf2.12005. - DOI - PubMed