Open Access Research Article

A Combination of EDA, Machine Learning, and Artificial Neural Networks for Accurate Prediction of Heart Disease

Authors

  • Ali Rashedi Gazari * Department of Information Technology Engineering, Tarbiat Modares University, Tehran, Iran.
  • Shayan Rokhva Department of Information Technology Engineering, Tarbiat Modares University, Tehran, Iran.
  • Toktam Khatibi Department of Information Technology Engineering, Tarbiat Modares University, Tehran, Iran.
  • Elham Akhondzade Noughabi Department of Information Technology Engineering, Tarbiat Modares University, Tehran, Iran.
  • Babak Teimourpour Department of Information Technology Engineering, Tarbiat Modares University, Tehran, Iran.

https://doi.org/10.22105/ahse.v2i1.29

Abstract

Cardiovascular diseases cause millions of deaths each year, with cases continuing to rise, making early prediction increasingly important. Although data science and Artificial Intelligence (AI) have been utilized to address this issue, further studies that enhance predictability and generalization are crucial, as they significantly reduce mortality rates and healthcare costs. This study employs Exploratory Data Analysis (EDA), a variety of conventional Machine Learning (ML) algorithms, and an Artificial Neural Network (ANN) to predict heart disease accurately and fill research gaps. A dataset from Kaggle, containing 1025 training samples and 303 test samples, with 14 attributes, including 13 predictive variables and a binary target indicating heart disease presence, was used. Normalization, feature importance analysis, K-fold cross-validation, and grid search were meticulously applied to improve model performance, generalization, and robustness. These methodologies led to impressive results, with most models achieving 100% accuracy, precision, recall, and F1-score on the test data, without signs of overfitting, data leakage, or bias. Principal Component Analysis (PCA) was also conducted to evaluate the richness of the features and their potential for dimension reduction. Lastly, in-depth discussions were made to clarify the study’s outcomes, compare results with the most related studies, and comprehensively examine real-world applicability.

Keywords

Heart disease Exploratory data analysis Machine learning Artificial intelligence Healthcare
References (25)
  1. [1] Mohan, S., Thirumalai, C., & Srivastava, G. (2019). Effective heart disease prediction using hybrid machine learning techniques. IEEE Access, 7, 81542–81554. https://doi.org/10.1109/ACCESS.2019.2923707

  2. [2] Al-Alshaikh, H. A., P., P., Poonia, R. C., Saudagar, A. K. J., Yadav, M., AlSagri, H. S., & AlSanad, A. A. (2024). Comprehensive evaluation and performance analysis of machine learning in heart disease prediction. Scientific reports, 14(1), 7819. https://doi.org/10.1038/s41598-024-58489-7

  3. [3] Baashar, Y., Alkawsi, G., Alhussian, H., Capretz, L. F., Alwadain, A., Alkahtani, A. A., & Almomani, M. (2022). Effectiveness of artificial intelligence models for cardiovascular disease prediction: Network meta‐analysis. Computational intelligence and neuroscience, 2022(1), 5849995. https://doi.org/10.1155/2022/5849995

  4. [4] Baghdadi, N. A., Farghaly Abdelaliem, S. M., Malki, A., Gad, I., Ewis, A., & Atlam, E. (2023). Advanced machine learning techniques for cardiovascular disease early detection and diagnosis. Journal of big data, 10(1), 144. https://doi.org/10.1186/s40537-023-00817-1

  5. [5] Babu, S. V., Ramya, P., & Gracewell, J. (2024). Revolutionizing heart disease prediction with quantum-enhanced machine learning. Scientific reports, 14(1), 7453. https://www.nature.com/articles/s41598-024-55991-w

Article Metrics

How to Cite

Rashedi Gazari, A., Rokhva, S. ., Khatibi, T. ., Akhondzade Noughabi, E. ., & Teimourpour, B. . (2025). A Combination of EDA, Machine Learning, and Artificial Neural Networks for Accurate Prediction of Heart Disease. Annals of Healthcare Systems Engineering, 2(1), 38-46. https://doi.org/10.22105/ahse.v2i1.29

Similar Articles

1-10 of 54

You may also start an advanced similarity search for this article.