Predicting the risk of mortality and rehospitalization in heart failure patients: A retrospective cohort study by machine learning approach
- PMID: 38402566
- PMCID: PMC10894620
- DOI: 10.1002/clc.24239
Predicting the risk of mortality and rehospitalization in heart failure patients: A retrospective cohort study by machine learning approach
Abstract
Background: Heart failure (HF) is a global problem, affecting more than 26 million people worldwide. This study evaluated the performance of 10 machine learning (ML) algorithms and chose the best algorithm to predict mortality and readmission of HF patients by using The Fasa Registry on Systolic HF (FaRSH) database.
Hypothesis: ML algorithms may better identify patients at increased risk of HF readmission or death with demographic and clinical data.
Methods: Through comprehensive evaluation, the best-performing model was used for prediction. Finally, all the trained models were applied to the test data, which included 20% of the total data. For the final evaluation and comparison of the models, five metrics were used: accuracy, F1-score, sensitivity, specificity and Area Under Curve (AUC).
Results: Ten ML algorithms were evaluated. The CatBoost (CAT) algorithm uses a series of decision tree models to create a nonlinear model, and this CAT algorithm performed the best of the 10 models studied. According to the three final outcomes from this study, which involved 2488 participants, 366 (14.7%) of the patients were readmitted to the hospital, 97 (3.9%) of the patients died within 1 month of the follow-up, and 342 (13.7%) of the patients died within 1 year of the follow-up. The most significant variables to predict the events were length of stay in the hospital, hemoglobin level, and family history of MI.
Conclusions: The ML-based risk stratification tool was able to assess the risk of 5-year all-cause mortality and readmission in patients with HF. ML could provide an explicit explanation of individualized risk prediction and give physicians an intuitive understanding of the influence of critical features in the model.
Keywords: cohort studies; heart failure; machine learning; mortality; patient readmission.
© 2024 The Authors. Clinical Cardiology published by Wiley Periodicals LLC.
Conflict of interest statement
The authors declare no conflict of interest.
Figures

Comment in
-
Utilizing machine learning for predicting heart failure outcomes: A path toward developing a patient-centered approach.Clin Cardiol. 2024 Mar;47(3):e24260. doi: 10.1002/clc.24260. Clin Cardiol. 2024. PMID: 38528717 Free PMC article. No abstract available.
-
Predicting the risk of mortality and rehospitalization in heart failure patients: A retrospective cohort study by machine learning approach.Clin Cardiol. 2024 May;47(5):e24280. doi: 10.1002/clc.24280. Clin Cardiol. 2024. PMID: 38767029 Free PMC article. No abstract available.
Similar articles
-
Evaluation of machine learning methods for prediction of heart failure mortality and readmission: meta-analysis.BMC Cardiovasc Disord. 2025 Apr 7;25(1):264. doi: 10.1186/s12872-025-04700-0. BMC Cardiovasc Disord. 2025. PMID: 40189534 Free PMC article.
-
Machine learning-based prediction of heart failure readmission or death: implications of choosing the right model and the right metrics.ESC Heart Fail. 2019 Apr;6(2):428-435. doi: 10.1002/ehf2.12419. Epub 2019 Feb 27. ESC Heart Fail. 2019. PMID: 30810291 Free PMC article.
-
The Price of Explainability in Machine Learning Models for 100-Day Readmission Prediction in Heart Failure: Retrospective, Comparative, Machine Learning Study.J Med Internet Res. 2023 Oct 27;25:e46934. doi: 10.2196/46934. J Med Internet Res. 2023. PMID: 37889530 Free PMC article.
-
Development of a prediction model for the risk of 30-day unplanned readmission in older patients with heart failure: A multicenter retrospective study.Nutr Metab Cardiovasc Dis. 2023 Oct;33(10):1878-1887. doi: 10.1016/j.numecd.2023.05.034. Epub 2023 Jun 10. Nutr Metab Cardiovasc Dis. 2023. PMID: 37500347
-
Machine learning-based 30-day readmission prediction models for patients with heart failure: a systematic review.Eur J Cardiovasc Nurs. 2024 Oct 21;23(7):711-719. doi: 10.1093/eurjcn/zvae031. Eur J Cardiovasc Nurs. 2024. PMID: 38421187
Cited by
-
Utilizing machine learning for predicting heart failure outcomes: A path toward developing a patient-centered approach.Clin Cardiol. 2024 Mar;47(3):e24260. doi: 10.1002/clc.24260. Clin Cardiol. 2024. PMID: 38528717 Free PMC article. No abstract available.
-
Molecular mechanisms and intervention approaches of heart failure (Review).Int J Mol Med. 2025 Aug;56(2):125. doi: 10.3892/ijmm.2025.5566. Epub 2025 Jun 13. Int J Mol Med. 2025. PMID: 40511535 Free PMC article. Review.
-
Predicting the risk of mortality and rehospitalization in heart failure patients: A retrospective cohort study by machine learning approach.Clin Cardiol. 2024 May;47(5):e24280. doi: 10.1002/clc.24280. Clin Cardiol. 2024. PMID: 38767029 Free PMC article. No abstract available.
References
-
- Benjamin EJ, Muntner P, Alonso A, et al. Heart disease and stroke statistics‐2019 update: a report from the American Heart Association. Circulation. 2019;139(10):e56‐e528. - PubMed
-
- Mozaffarian D, Benjamin EJ, Go AS, et al. Heart disease and stroke statistics—2015 update: a report from the American Heart Association. Circulation. 2015;131(4):e29‐e322. - PubMed
-
- Crespo‐Leiro MG, Anker SD, Maggioni AP, et al. European Society of Cardiology Heart Failure Long‐Term registry (ESC‐HF‐LT): 1‐year follow‐up outcomes and differences across regions. Eur J Heart Fail. 2016;18(6):613‐625. - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
Research Materials
Miscellaneous