Feature selection using optimization algorithms in heart disease detection

Heart disease continues to be among the leading causes of mortality worldwide, necessitating its early detection for improving patient prognosis. Although conventional statistics-based algorithms and feature selection approaches have been applied for heart disease prediction purposes, the complex nature of medical data may not necessarily be accounted for using such techniques. Removing unnecessary features improves how well machine learning algorithms perform. In this study, we present a step-by-step feature selection methodology leveraging Genetic Algorithms (GA) and the Gini index. Utilizing greedy search for parameter tuning and and a comprehensive suite of confusion matrix metrics for evaluation, we compared six architectures: MLP, TabNet, Random Forest, SVM, Logistic Regression, and XGBoost are applied to the heart disease dataset. Our results demonstrate that the Random Forest (RF) model delivers superior diagnostics. By reducing the feature space from 13 to 8, the RF model attained exceptional predictive power, charting 98.4% accuracy, 98.9% sensitivity, 98% specificity, and a 98.5% F1-score.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-22
DOI
https://doi.org/10.5281/zenodo.20345014
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Feature selection using optimization algorithms in heart disease detection

Amna Elhawil, Jazya Amshaher
Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare
article

Feature selection using optimization algorithms in heart disease detection

Amna Elhawil, Jazya Amshaher
article en

Abstract

Heart disease continues to be among the leading causes of mortality worldwide, necessitating its early detection for improving patient prognosis. Although conventional statistics-based algorithms and feature selection approaches have been applied for heart disease prediction purposes, the complex nature of medical data may not necessarily be accounted for using such techniques. Removing unnecessary features improves how well machine learning algorithms perform. In this study, we present a step-by-step feature selection methodology leveraging Genetic Algorithms (GA) and the Gini index. Utilizing greedy search for parameter tuning and and a comprehensive suite of confusion matrix metrics for evaluation, we compared six architectures: MLP, TabNet, Random Forest, SVM, Logistic Regression, and XGBoost are applied to the heart disease dataset. Our results demonstrate that the Random Forest (RF) model delivers superior diagnostics. By reducing the feature space from 13 to 8, the RF model attained exceptional predictive power, charting 98.4% accuracy, 98.9% sensitivity, 98% specificity, and a 98.5% F1-score.

Zenodo (CERN European Organization for Nuclear Research)
University of Tripoli (LY), Libyan Academy (LY)
Good health and well-being
Openalex Percentile: Top 2%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.