An Explainable Genetic Algorithm-Optimized Weighted Soft Voting Framework for Heart Disease Prediction

Reliable and interpretable heart disease prediction across heterogeneous clinical cohorts remains a major barrier to clinical translation. This study presents an explainable, genetic-algorithm (GA)-optimized performance-weighted soft-voting (PWSV) framework for binary heart disease prediction using 920 records from the Cleveland, Hungary, Switzerland, and VA Long Beach cohorts. After data harmonization, leakage-aware preprocessing, and feature engineering, 29 encoded predictors were retained. GA independently optimized random forest, extra trees, radial basis function support vector machine, and gradient boosting using five-fold cross-validation confined to the development data. Each model’s mean cross-validated weighted F1-score was normalized into its ensemble weight, keeping both hyperparameter selection and weight estimation independent of the test data. A stratified 80:20 split assessed internal performance on the pooled UCI benchmark, and leave-one-dataset-out (LODO) internal–external validation assessed performance across the four UCI source cohorts. On the untouched test set, PWSV achieved 95.65% accuracy; disease-class precision, recall, and F1-score of 94.34%, 98.04%, and 96.15%, respectively; and a 98.11% area under the receiver operating characteristic curve. LODO accuracy ranged from 87.80% to 93.75%, revealing cohort-dependent performance variation that a random split alone would not capture. SHAP and LIME provided complementary global and patient-level explanations, and their aggregated feature rankings showed significant agreement (Spearman’s ρ = 0.867, p < 0.001). Overall, the framework integrates leakage-aware optimization, performance-driven probability fusion, source-aware validation, and concordant explanations within a reproducible pipeline. The framework showed promising performance on the UCI benchmark. Clinical generalizability and utility remain to be established through prospective evaluation in independent clinical populations.

Authors

Publication Details

Journal
AI
Published
2026-11-23
DOI
https://doi.org/10.3390/ai7120499
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
NOV
article

An Explainable Genetic Algorithm-Optimized Weighted Soft Voting Framework for Heart Disease Prediction

Amani Yousef Owda, Samer Sweileh
3 links
AI
Artificial Intelligence in Healthcare
article

An Explainable Genetic Algorithm-Optimized Weighted Soft Voting Framework for Heart Disease Prediction

Amani Yousef Owda, Samer Sweileh
article en

Abstract

Reliable and interpretable heart disease prediction across heterogeneous clinical cohorts remains a major barrier to clinical translation. This study presents an explainable, genetic-algorithm (GA)-optimized performance-weighted soft-voting (PWSV) framework for binary heart disease prediction using 920 records from the Cleveland, Hungary, Switzerland, and VA Long Beach cohorts. After data harmonization, leakage-aware preprocessing, and feature engineering, 29 encoded predictors were retained. GA independently optimized random forest, extra trees, radial basis function support vector machine, and gradient boosting using five-fold cross-validation confined to the development data. Each model’s mean cross-validated weighted F1-score was normalized into its ensemble weight, keeping both hyperparameter selection and weight estimation independent of the test data. A stratified 80:20 split assessed internal performance on the pooled UCI benchmark, and leave-one-dataset-out (LODO) internal–external validation assessed performance across the four UCI source cohorts. On the untouched test set, PWSV achieved 95.65% accuracy; disease-class precision, recall, and F1-score of 94.34%, 98.04%, and 96.15%, respectively; and a 98.11% area under the receiver operating characteristic curve. LODO accuracy ranged from 87.80% to 93.75%, revealing cohort-dependent performance variation that a random split alone would not capture. SHAP and LIME provided complementary global and patient-level explanations, and their aggregated feature rankings showed significant agreement (Spearman’s ρ = 0.867, p < 0.001). Overall, the framework integrates leakage-aware optimization, performance-driven probability fusion, source-aware validation, and concordant explanations within a reproducible pipeline. The framework showed promising performance on the UCI benchmark. Clinical generalizability and utility remain to be established through prospective evaluation in independent clinical populations.

AIVol. 7(12)
Good health and well-being
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.

Laika access coming soon