From Data to Diagnosis: Effective Machine Learning-based Heart Disease Prediction
DOI:
https://doi.org/10.61173/7fqjnk03Keywords:
Machine learning, heart diseas, artificial intelligenceAbstract
Heart disease is a leading cause of mortality worldwide, contributing to nearly 18 million deaths annually. Early detection is critical but remains a significant challenge due to the limitations of traditional diagnostic methods, which can be prone to human error. This study aims to enhance heart disease prediction using machine learning (ML) by comparing the performance of three ML models: Support Vector Machine (SVM), Random Forest (RF), and XGBoost. A dataset containing 12 features from 918 patients was used, with preprocessing steps such as one-hot encoding for categorical variables and MinMax scaling for numerical features. The models were trained and evaluated using 5-fold cross-validation to ensure robustness. Random Forest demonstrated the highest accuracy at 82.78%, followed closely by SVM (82.67%) and XGBoost (81.58%). The feature importance analysis identified ST_Slope as the most significant predictor of heart disease, providing important insights into which features are most influential in the diagnosis process. While the Random Forest model outperformed the others, this study also highlights the need for better interpretability in ML models, especially in medical applications where understanding the relationships between features is crucial. Future research should focus on improving model transparency to bridge the gap between accuracy and practical application in clinical settings.
References
[1] World Health Organization. Cardiovascular diseases (CVDs) Dean&Francis [Internet]. 2023 [cited 2024 Sep 5]. Available from: https://www. who.int/news-room/fact-sheets/detail/cardiovascular-diseases- (cvds)
[2] Esteva A, Kuprel B, Novoa RA, Ko J, Swetter SM, Blau HM, Thrun S. Dermatologist-level classification of skin cancer with deep neural networks. nature. 2017 Feb;542(7639):115-8.
[3] Komorowski M, Celi LA, Badawi O, Gordon AC, Faisal AA. The artificial intelligence clinician learns optimal treatment strategies for sepsis in intensive care. Nature medicine. 2018 Nov;24(11):1716-20.
[4] Libbrecht MW, Noble WS. Machine learning applications in genetics and genomics. Nature Reviews Genetics. 2015 Jun;16(6):321-32.
[5] Nithya B, Ilango V. Predictive analytics in health care using machine learning tools and techniques. In2017 International Conference on Intelligent Computing and Control Systems (ICICCS) 2017 Jun 15 (pp. 492-499). IEEE.
[6] Johnson KW, Torres Soto J, Glicksberg BS, Shameer K, Miotto R, Ali M, Ashley E, Dudley JT. Artificial intelligence in cardiology. Journal of the American College of Cardiology. 2018 Jun 12;71(23):2668-79.
[7] Caruana R, Lou Y, Gehrke J, Koch P, Sturm M, Elhadad N. Intelligible models for healthcare: Predicting pneumonia risk and hospital 30-day readmission. InProceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining 2015 Aug 10 (pp. 1721-1730).
[8] Soriano F. Heart failure prediction dataset [Internet]. Kaggle. 2021 [cited 2024 Sep 5]. Available from: https://www.kaggle. com/datasets/fedesoriano/heart-failure-prediction/data
[9] Biau G, Scornet E. A random forest guided tour. Test. 2016 Jun;25:197-227.
[10] Kardashian M, Elamin MS, Mary DASG, Whitaker W, Smith DR, Boyle R, Stoker JB, Linden RJ. The slope of ST segment/heart rate relationship during exercise in the prediction of severity of coronary artery disease. Eur Heart J. 1982 Oct;3(5):449-458.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 by the authors.

This work is licensed under a Creative Commons Attribution 4.0 International License.
