Research Article Open Access Double-Blind Peer Review

Leveraging Machine Learning for Early Detection of Heart Disease in Akwa Ibom State, Nigeria

Samuel Olumide Adebayo·Chidera Nkechi Eze
Published 19 February 2025
Vol. 12, No. 1 (2024)
pp. 1-15
CC BY 4.0
  1. 1
    Samuel Olumide Adebayo
    Department of Computer-Aided Design and Engineering, Institute of Information Technology and Computer Science, Akwa Ibom University, Uyo, Nigeria
    NG
  2. 2
    Chidera Nkechi Eze
    Department of Computer-Aided Design and Engineering, Institute of Information Technology and Computer Science, Akwa Ibom University, Uyo, Nigeria
    NG

In middle-income countries as well as advanced economies of the world, one of the leading health problems is heart disease. Heart disease, otherwise known as cardiovascular disease, is a category of diseases and disorders usually characterized by abnormalities of the heart and the blood vessels, including coronary artery disease, heart failure, arrhythmias, and congenital heart defects. This study is very important as it aims to fill a knowledge gap and tackle the special challenges that primary healthcare systems in areas with few resources face leading to improved health results and more effective healthcare resource usage. In this study, we attempt to assess the efficacy of various machine learning (ML) methods for early heart diseases detection in Primary healthcare. We tested some ML algorithms – logistic regression, random forest, support vector machines (SVMs), K-nearest neighbors, CatBoost and XGBoost (XGB) using medical records from 2022 Primary Healthcare Facilities in Southern Nigeria. Each model showed different strengths in accuracy, precision, recall, and F1 score with logistic regression model achieving an overall accuracy of 85.61%. The Synthetic Minority OverSampling Technique (SMOTE) enabled us to mitigate class imbalance which boosted recall from 0.04 to 0.6016 and also balanced the F1 score from 0.08 to 0.3356; thus accurately identifies heart disease cases while maintaining fewer false negatives. Age (0.570193), daily smokes (0.370494), and blood pressure (0.365896) topped the list of heart risk factors. Blood sugar (0.189080), heart rate (0.096976), BMI (0.052322), and cholesterol (0.047680) also play a part in predicting overall risk.  We recommend adding ML tools into routine healthcare, supported by policies, community outreach, targeted interventions, and continuous research to manage heart disease worldwide

JournalArtificial Intelligence, Machine Learning, and Data Science Journal
ISSN3064-8270
Volume / IssueVol. 12, No. 1 (2024)
Pages1-15
Published19 February 2025
DOI10.5281/zenodo.14892307
Access Open Access
LicenseCC BY 4.0 — reuse with attribution
PublisherKeith Publications
Adebayo , S., Eze, C. (2025). Leveraging Machine Learning for Early Detection of Heart Disease in Akwa Ibom State, Nigeria. Artificial Intelligence, Machine Learning, and Data Science Journal, Vol. 12 No. 1, pp. 1-15. DOI: https://doi.org/10.5281/zenodo.14892307

 Submit Your Research to Artificial Intelligence, Machine Learning, and Data Science Journal

We invite original research articles, review papers, and case studies. Benefit from rigorous double-blind peer review, rapid decision within 4–8 weeks, DOI for every article, and worldwide open-access distribution.