MACHINE LEARNING-BASED PREDICTION OF MORTALITY RISK IN HEART FAILURE PATIENTS USING CLINICAL DATA
Main Article Content
Abstract
Heart failure remains a leading cause of morbidity and mortality worldwide, necessitating effective predictive models for early risk stratification. This study aims to develop and evaluate machine learning models for predicting mortality risk in heart failure patients using clinical data. A retrospective analysis was conducted on a publicly available dataset comprising 299 patients with demographic, clinical, and laboratory variables. Three supervised machine learning algorithms—Logistic Regression, Random Forest, and Support Vector Machine (SVM)—were implemented and evaluated using multiple performance metrics, including accuracy, precision, recall, F1-score, and Receiver Operating Characteristic Area Under the Curve (ROC-AUC).The results demonstrated that Logistic Regression achieved the highest accuracy (0.80) and precision (0.93), while Random Forest showed the highest ROC-AUC (0.830), indicating strong discriminative ability across models. However, recall values were moderate across all models, highlighting challenges in identifying high-risk patients. Confusion matrix analysis revealed the presence of false negatives, emphasizing the need for improved sensitivity in clinical applications. Feature importance analysis identified follow-up time, serum creatinine, and ejection fraction as the most significant predictors of mortality, reflecting the combined influence of disease progression, renal dysfunction, and cardiac performance.Overall, the findings indicate that machine learning models can effectively predict mortality risk in heart failure patients using clinical data. However, further optimization and validation are required to enhance sensitivity and ensure reliable clinical application.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Author(s) and co-author(s) jointly and severally represent and warrant that the Article is original with the author(s) and does not infringe any copyright or violate any other right of any third parties, and that the Article has not been published elsewhere. Author(s) agree to the terms that the IJRDO Journal will have the full right to remove the published article on any misconduct found in the published article.
References
2.Ashrafi, N., Abdollahi, A., Zhang, J., & Pishgar, M. (2024). Optimizing mortality prediction for icu heart failure patients: Leveraging xgboost and advanced machine learning with the mimic-iii database. arXiv preprint arXiv:2409.01685.
3.Chicco, D., & Jurman, G. (2020). Machine learning can predict survival of patients with heart failure from serum creatinine and ejection fraction alone. BMC medical informatics and decision making, 20(1), 16.
4.GUNGBIAS, H., & KASSEM, M. (2025). Death Events from Heart Failure Prediction Using Machine Learning Approach. International Journal, 11(1), 1-10.
5.Haider, M. A. Y., Habibollah, H., Shukor, M. T., & Rozainy, M. H. (2023, June). Heart failure mortality prediction using machine learning. In AIP Conference Proceedings (Vol. 2750, No. 1, p. 040069). AIP Publishing LLC.
6.Johnson, K. W., Torres Soto, J., Glicksberg, B. S., Shameer, K., Miotto, R., Ali, M., ... & Dudley, J. T. (2018). Artificial intelligence in cardiology. Journal of the American College of Cardiology, 71(23), 2668-2679.
7.Kokori, E., Patel, R., Olatunji, G., Ukoaka, B. M., Abraham, I. C., Ajekiigbe, V. O., ... & Aderinto, N. (2025). Machine learning in predicting heart failure survival: a review of current models and future prospects. Heart failure reviews, 30(2), 431-442.
8.Krittanawong, C., Zhang, H., Wang, Z., Aydar, M., & Kitai, T. (2017). Artificial intelligence in precision cardiovascular medicine. Journal of the American College of Cardiology, 69(21), 2657-2664.
9.Kwon, J. M., Kim, K. H., Jeon, K. H., Lee, S. E., Lee, H. Y., Cho, H. J., ... & Oh, B. H. (2019). Artificial intelligence algorithm for predicting mortality of patients with acute heart failure. PloS one, 14(7), e0219302.
10.Larxel. (2019). Heart failure clinical data [Data set]. Kaggle.
https://www.kaggle.com/datasets/andrewmvd/heart-failure-clinical-data
11.Li, D., Fu, J., Zhao, J., Qin, J., & Zhang, L. (2023). A deep learning system for heart failure mortality prediction. PLoS One, 18(2), e0276835.
12.Mortazavi, B. J., Downing, N. S., Bucholz, E. M., Dharmarajan, K., Manhapra, A., Li, S. X., ... & Krumholz, H. M. (2016). Analysis of machine learning techniques for heart failure readmissions. Circulation: Cardiovascular Quality and Outcomes, 9(6), 629-640.
13.Ponikowski, P., Voors, A. A., Anker, S. D., Bueno, H., Cleland, J. G., Coats, A. J., ... & Van Der Meer, P. (2016). 2016 ESC Guidelines for the diagnosis and treatment of acute and chronic heart failure. Polish Heart Journal (Kardiologia Polska), 74(10), 1037-1147.
14.Rahimi, K., Bennett, D., Conrad, N., Williams, T. M., Basu, J., Dwight, J., ... & MacMahon, S. (2014). Risk prediction in patients with heart failure: a systematic review and analysis. JACC: Heart Failure, 2(5), 440-446.
15.Roudini, B., Khajehpiri, B., Moghaddam, H. A., & Forouzanfar, M. (2024). Machine learning predicts long-term mortality after acute myocardial infarction using systolic time intervals and routinely collected clinical data. Intelligent Medicine, 4(03), 170-176.
16.Sabouri, M., Rajabi, A. B., Hajianfar, G., Gharibi, O., Mohebi, M., Avval, A. H., ... & Shiri, I. (2023). Machine learning based readmission and mortality prediction in heart failure patients. Scientific Reports, 13(1), 18671.
17.Scrutinio, D., Amitrano, F., Guida, P., Coccia, A., Pagano, G., D'addio, G., & Passantino, A. (2025). Prediction of mortality in heart failure by machine learning. Comparison with statistical modeling. European Journal of Internal Medicine, 133, 106-112.
18.Shah, S. J., Katz, D. H., Selvaraj, S., Burke, M. A., Yancy, C. W., Gheorghiade, M., ... & Deo, R. C. (2015). Phenomapping for novel classification of heart failure with preserved ejection fraction. Circulation, 131(3), 269-279.
19.Stewart, J., Sprivulis, P., & Dwivedi, G. (2018). Artificial intelligence and machine learning in emergency medicine. Emergency Medicine Australasia, 30(6), 870-874.
20.Sun, Z., Dong, W., Shi, H., Ma, H., Cheng, L., & Huang, Z. (2022). Comparing machine learning models and statistical models for predicting heart failure events: a systematic review and meta-analysis. Frontiers in Cardiovascular Medicine, 9, 812276.
21.Xu, Z., Hu, Y., Shao, X., Shi, T., Yang, J., Wan, Q., & Liu, Y. (2025). The efficacy of machine learning models for predicting the prognosis of heart failure: a systematic review and meta-analysis. Cardiology, 150(1), 79-97.
22.Ziaeian, B., & Fonarow, G. C. (2016). Epidemiology and aetiology of heart failure. Nature Reviews Cardiology, 13(6), 368-378.
23.Rajkomar, A., Dean, J., & Kohane, I. (2019). Machine learning in medicine. New England Journal of Medicine, 380(14), 1347-1358.
24.Goldstein, B. A., Navar, A. M., Pencina, M. J., & Ioannidis, J. P. (2016). Opportunities and challenges in developing risk prediction models with electronic health records data: a systematic review. Journal of the American Medical Informatics Association: JAMIA, 24(1), 198.
25.Obermeyer, Z., & Emanuel, E. J. (2016). Predicting the future—big data, machine learning, and clinical medicine. The New England journal of medicine, 375(13), 1216.
26.Beam, A. L., & Kohane, I. S. (2018). Big data and machine learning in health care. Jama, 319(13), 1317-1318.
27.Topol, E. J. (2019). High-performance medicine: the convergence of human and artificial intelligence. Nature medicine, 25(1), 44-56.