Development and evaluation of machine learning models for classifying heart failure using clinical and demographic data in Sidama, Ethiopia

Background and objective Heart failure (HF) is clinically heterogeneous and challenging to diagnose, particularly in settings with limited access to specialized investigations. Machine-learning (ML) models using routinely available clinical data may improve HF identification, although evidence from sub-Saharan Africa is limited. This study developed and evaluated ML models to classify HF among patients attending four public hospitals in Sidama Region, Ethiopia Methods A cross-sectional ML study was conducted using data collected from January–March 2025 in four public hospitals in Sidama region. The analytic dataset included 716 participants: 386 with a documented HF diagnosis recruited from cardiac follow-up clinics and 330 without a documented HF diagnosis recruited from outpatient departments (OPD). Forty candidate predictors were considered. Seven classifiers were compared using stratified cross-validation in the training dataset after an 80:20 stratified split. Preprocessing and ReliefF feature selection were performed within the model-development folds. The leading three models underwent randomized hyperparameter optimization. The final model was selected using cross-validated ROC-AUC and evaluated on the held-out test set. Discrimination, threshold-specific performance, calibration, decision-curve analysis and feature importance were assessed. Results Extra Trees achieved the highest cross-validated ROC-AUC (0.955) and test-set ROC-AUC (0.954; 95% CI: 0.918–0.982) and PR-AUC (0.966; 95% CI: 0.938–0.987). On the test set, accuracy was 90.3% (95% CI: 85.4%–94.4%), sensitivity 87.2% (79.3%–94.1%), specificity 93.9% (87.5%–98.6%), precision 94.4% and negative predictive value 86.1%. The Brier score was 0.082; the calibration intercept was 0.025 and slope 1.352. Prior history of heart attack or stroke was the most influential predictor in permutation-importance and SHAP analyses. Logistic regression had slightly higher test-set accuracy (91.0%) than Extra Trees. Conclusion Extra Trees demonstrated high internal discrimination of documented HF status in this selected hospital-based sample. Routinely obtainable demographic and clinical characteristics may help distinguish patients with established HF from other OPD attendees. However, external validation, reliable outcome ascertainment, assessment of post-diagnostic predictors, and recalibration are necessary before clinical application.

Authors

Institutions

Publication Details

Journal
medRxiv
Published
2026-11-29
DOI
https://doi.org/10.64898/2026.11.26.26369031
Primary Topic
Artificial Intelligence in Healthcare
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Development and evaluation of machine learning models for classifying heart failure using clinical and demographic data in Sidama, Ethiopia

Melaku Haile Likka, Solomon Mamo Banteywalu, Taye Gari, Sura Markos
medRxiv
Artificial Intelligence in Healthcare
preprint

Development and evaluation of machine learning models for classifying heart failure using clinical and demographic data in Sidama, Ethiopia

Melaku Haile Likka, Solomon Mamo Banteywalu, Taye Gari, Sura Markos
preprint en

Abstract

Background and objective Heart failure (HF) is clinically heterogeneous and challenging to diagnose, particularly in settings with limited access to specialized investigations. Machine-learning (ML) models using routinely available clinical data may improve HF identification, although evidence from sub-Saharan Africa is limited. This study developed and evaluated ML models to classify HF among patients attending four public hospitals in Sidama Region, Ethiopia Methods A cross-sectional ML study was conducted using data collected from January–March 2025 in four public hospitals in Sidama region. The analytic dataset included 716 participants: 386 with a documented HF diagnosis recruited from cardiac follow-up clinics and 330 without a documented HF diagnosis recruited from outpatient departments (OPD). Forty candidate predictors were considered. Seven classifiers were compared using stratified cross-validation in the training dataset after an 80:20 stratified split. Preprocessing and ReliefF feature selection were performed within the model-development folds. The leading three models underwent randomized hyperparameter optimization. The final model was selected using cross-validated ROC-AUC and evaluated on the held-out test set. Discrimination, threshold-specific performance, calibration, decision-curve analysis and feature importance were assessed. Results Extra Trees achieved the highest cross-validated ROC-AUC (0.955) and test-set ROC-AUC (0.954; 95% CI: 0.918–0.982) and PR-AUC (0.966; 95% CI: 0.938–0.987). On the test set, accuracy was 90.3% (95% CI: 85.4%–94.4%), sensitivity 87.2% (79.3%–94.1%), specificity 93.9% (87.5%–98.6%), precision 94.4% and negative predictive value 86.1%. The Brier score was 0.082; the calibration intercept was 0.025 and slope 1.352. Prior history of heart attack or stroke was the most influential predictor in permutation-importance and SHAP analyses. Logistic regression had slightly higher test-set accuracy (91.0%) than Extra Trees. Conclusion Extra Trees demonstrated high internal discrimination of documented HF status in this selected hospital-based sample. Routinely obtainable demographic and clinical characteristics may help distinguish patients with established HF from other OPD attendees. However, external validation, reliable outcome ascertainment, assessment of post-diagnostic predictors, and recalibration are necessary before clinical application.

medRxiv
Hawassa University (ET)
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