Predicting Heart Disease with Advanced Machine Learning Techniques

Authors

  • Salma El Hamdi
  • Khaoula Refaat
  • Wafae Abbaoui
  • Imane Lasri
  • Anouar Riadsolh
  • Soumia Ziti

Keywords:

Heart Disease, Deep learning, Cardiovascular Health, Random Forest Classifier

Abstract

Heart disease remains a leading cause of mortality worldwide, highlighting the need for effective predictive tools. However, many studies struggle to report their results effectively. Objective: This study aims to improve the accuracy and efficiency of heart disease diagnosis by employing machine learning and deep learning techniques. It also underscores the importance of raising awareness and implementing preventive measures to reduce heart disease mortality. We utilized the Random Forest algorithm, a supervised classification technique that builds multiple decision trees, to predict heart disease. This algorithm was selected for its capacity to minimize overfitting, handle both numerical and categorical data, manage outliers, and provide insights into feature importance. Hyperparameter tuning was performed using random search to enhance model performance. The effectiveness of the model was assessed with metrics such as precision, F1-score, AUC-ROC, and recall, demonstrating significant improvements in prediction accuracy and reliability.  The Random Forest model achieved an accuracy of 96.7% on the test set. Performance metrics, including precision, recall, and F1-score, were approximately 0.97. The model’s AUC-ROC was 0.92, indicating excellent classification ability.  This study presents a robust framework for heart disease prediction through machine learning, delivering highly accurate results. The Random Forest model’s ability to process diverse data types and its feature importance insights make it well-suited for medical data analysis. Future research should explore additional algorithms and larger datasets to further enhance predictive capabilities.

Downloads

Published

30-09-2024 — Updated on 20-10-2024

Versions

How to Cite

El Hamdi, S., Refaat, K., Abbaoui, W., Lasri, I., Riadsolh, A., & Ziti, S. (2024). Predicting Heart Disease with Advanced Machine Learning Techniques. Journal of Innovation and Digital Health, 1(2), 43–52. Retrieved from https://journals.imist.ma/index.php/jidh/article/view/2298 (Original work published September 30, 2024)

Issue

Section

Articles