Health Science Reports

Explainable Ensemble Machine Learning for Predicting Cardiovascular Disease Using Clinical, Behavioral, and Socio‐Demographic Factors in Bangladesh: A Cross‐Sectional Study

Mohammad Kamrul Hasan, Ilias Uddin Rifat, Shourav Dey, Sanjida Akter, Nazmun Nahar, Md. Ashraful Islam

Computational · n=1,222

Key points

From the paper's conclusion
  • Conclusion A stacking ensemble trained on locally collected Bangladeshi data identified CVD status with high internal accuracy, with predictions attributable to established clinical risk factors.

Abstract

Background and Aim Cardiovascular disease (CVD) is the leading cause of death worldwide, and its burden is rising rapidly in Bangladesh, where diagnostic capacity remains concentrated in a few tertiary hospitals. Most machine learning models reported for Bangladeshi populations are trained on foreign public datasets and offer limited interpretability. This study aimed to develop and interpret an explainable stacking ensemble model for identifying CVD using locally collected clinical, behavioral, and socio‐demographic data. Methods In this cross‐sectional study, 1222 adults aged 17 years and above were analyzed, combining 571 records collected between May and November 2024 at five hospitals across Bangladesh with 651 records from a previously published national survey. Thirty variables were collected, 19 retained by recursive feature elimination. Data were split 80:20, with synthetic minority oversampling applied to the training partition only. Five conventional classifiers and a stacking ensemble were trained with hyperparameter tuning and five‐fold cross‐validation. Influential variables were ranked and interpreted using SHapley Additive exPlanations (SHAP) and Local Interpretable Model‐agnostic Explanations. Results Of 1222 participants, 806 (66.0%) had diagnosed CVD and 855 (70.0%) were men. Every classifier exceeded 95% accuracy. The stacking ensemble performed best, with accuracy 98.37% (95% CI 96.73–99.59), sensitivity 99.38%, specificity 96.39%, precision 98.17%, F1‐score 98.77%, and AUC 0.997, with a Brier score of 0.013, among the best‐calibrated of the six models though not the single lowest, a distinction that belonged to the deep neural network (0.012). Five‐fold cross‐validated accuracy was 96.35% (SD 0.90). SHAP identified cholesterol, irregular heart rhythm, and blood pressure as the most influential predictors, followed by sleep apnea and hypertension, whereas salt intake, smoking, and anemia contributed least. Conclusion A stacking ensemble trained on locally collected Bangladeshi data identified CVD status with high internal accuracy, with predictions attributable to established clinical risk factors. As these results derive from a single hospital‐based sample without external validation, they remain preliminary and require prospective validation before clinical use.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers