Hybrid genetic algorithms-driven optimization of machine learning models for heart disease prediction
Machine learning (ML) models, such as K-Nearest Neighbor (KNN) and Support Vector Machine (SVM), play a vital role in predicting heart disease. However, their performance is often limited by poor hyperparameter selection. This study presents a novel hybrid approach that uses a Genetic Algorithm (GA) to systematically optimize the hyperparameters of KNN and SVM models, leading to improved classification outcomes. The optimization driven by the GA resulted in significant performance improvements, increasing the classification accuracy of KNN to 95.38 % and SVM to 90 %. Furthermore, there were significant improvements in precision, recall, and F-score. Our findings demonstrate that GA-based hyperparameter tuning is an effective strategy for improving the predictive power and clinical relevance of ML models used for heart disease classification.•<b>GA Driven Optimization:</b> Genetic algorithm was utilized to fine-tune the hyperparameters of K-Nearest Neighbour (KNN) and Support Vector Machine (SVM) classifiers for improved performance.•<b>Significant Performance Gains:</b> The optimization process aimed to maximize classification across metrics such as accuracy, precision, recall, and F-score.•<b>Improved Accuracy:</b> The GA-based tuning significantly increased the classification accuracy, improving KNN to 95.38 % and SVM to 90 %.
Authors
- Noor Bahjat Tayfor
- Nozad Hussein Mahmood (ORCID: https://orcid.org/0000-0001-8846-0869)
- Sherko H. Murad (ORCID: https://orcid.org/0000-0001-8536-3641)
- Lawson Arman
Institutions
- Cihan University-Erbil (IQ)
- University of Szeged (HU)
- University of Human Development (IQ)
- Cihan University Sulaimaniya
- University of Sulaimani (IQ)
- Saint Petersburg State Pediatric Medical University (RU)
Publication Details
- Journal
- MethodsX
- Published
- 2025-07-16
- DOI
- https://doi.org/10.1016/j.mex.2025.103510
- Citations
- 1
- Primary Topic
- Artificial Intelligence in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 2.94