Sherko H. Murad , Noor Bahjat Tayfor , Nozad H. Mahmood , Lawson Arman
{"title":"Hybrid genetic algorithms-driven optimization of machine learning models for heart disease prediction","authors":"Sherko H. Murad , Noor Bahjat Tayfor , Nozad H. Mahmood , Lawson Arman","doi":"10.1016/j.mex.2025.103510","DOIUrl":null,"url":null,"abstract":"<div><div>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.<ul><li><span>•</span><span><div><strong>GA Driven Optimization:</strong> Genetic algorithm was utilized to fine-tune the hyperparameters of K-Nearest Neighbour (KNN) and Support Vector Machine (SVM) classifiers for improved performance.</div></span></li><li><span>•</span><span><div><strong>Significant Performance Gains:</strong> The optimization process aimed to maximize classification across metrics such as accuracy, precision, recall, and F-score.</div></span></li><li><span>•</span><span><div><strong>Improved Accuracy:</strong> The GA-based tuning significantly increased the classification accuracy, improving KNN to 95.38 % and SVM to 90 %.</div></span></li></ul></div></div>","PeriodicalId":18446,"journal":{"name":"MethodsX","volume":"15 ","pages":"Article 103510"},"PeriodicalIF":1.9000,"publicationDate":"2025-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"MethodsX","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2215016125003553","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
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.
•
GA Driven Optimization: Genetic algorithm was utilized to fine-tune the hyperparameters of K-Nearest Neighbour (KNN) and Support Vector Machine (SVM) classifiers for improved performance.
•
Significant Performance Gains: The optimization process aimed to maximize classification across metrics such as accuracy, precision, recall, and F-score.
•
Improved Accuracy: The GA-based tuning significantly increased the classification accuracy, improving KNN to 95.38 % and SVM to 90 %.