Work

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

Year: 2026
Type: article
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.
Source: AI
Language: English
Open Access status: gold
Estimated APC paid: $1,930
OpenAlex ID: W7222244756
FWCI:
Cites: 42
Cited by:
Related to: 10