An Explainable Genetic Algorithm-Optimized Weighted Soft Voting Framework for Heart Disease Prediction
Samer Sweileh, Amani Yousef Owda
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable soft-voting classifier for heart disease prediction using SHAP and LIMEDiscover Computing · 2026
- Feature-weighted calibrated tabular explainable AI for heart disease predictionDiscover Artificial Intelligence · 2026
- Ensemble learning approach with explainable AI for improved heart disease predictionFrontiers in Pharmacology · 2025
- Padding interpolation, median imputation, RobustScalar, and particle swarm optimization with heterogeneous classifiers: a robust combination for effective heart disease diagnosisFrontiers in Medicine · 2026
- SmartHeart: A conceptual framework for explainable machine learning in cardiovascular risk predictionComputers in Biology and Medicine · 2025
- GCE: A Framework for Interpretable Nonlinear Hazard Modeling in Cardiac Sarcoma Survival Using SEER Data.Bioengineering (Basel, Switzerland) · 2026