A performance-driven weighted soft-voting ensemble for enhanced heart disease prediction: validation on the UCI benchmark
DOI:
https://doi.org/10.64497/jssci.232Keywords:
ensemble learning, weighted soft voting, heart disease prediction, machine learning, UCI dataset, clinical decision support, model selection, predictive analyticsAbstract
Cardiovascular diseases (CVDs) represent the leading cause of global mortality, with early detection crucial for reducing preventable deaths. While machine learning (ML) shows promise in cardiac risk prediction, existing approaches often rely on single classifiers that are susceptible to model-specific biases and exhibit inconsistent false-negative rates in clinical settings. This study proposes a performance-driven weighted soft-voting ensemble framework that intelligently integrates five ML classifiers: Random Forest, Bagged Trees, XGBoost, Support Vector Machine, and Artificial Neural Network. Utilizing the combined UCI Heart Disease dataset (n=569), classifier weights were assigned proportionally to validation ROC-AUC scores through a systematic optimization process. The architecture employs a dual-layer strategy encompassing model-level hyperparameter tuning and ensemble-level composition selection. Through stratified 10-fold cross-validation, the optimized ensemble achieved competitive performance metrics: accuracy = 0.9649, precision = 0.9579, recall = 0.9653, F1-score = 0.9615, and ROC-AUC = 0.9912. The model demonstrated high clinical safety with only 9 false negatives and 11 false positives. Ablation analysis confirmed that when base classifiers exhibit similar validation performance, weight granularity yields marginal gains; instead, the framework's systematic performance-based model selection provides transparent, reproducible criteria for clinical ensemble construction. This approach offers a robust, clinically aligned alternative to conventional equal-weight ensembles, effectively balancing predictive accuracy with diagnostic safety for resource-constrained healthcare environments.
Downloads
References
[1] World Health Organization, Cardiovascular Diseases (CVDs): Fact Sheet. Geneva, Switzerland: World Health Organization, Jun. 2021.
[2] E. J. Benjamin et al., "Heart disease and stroke statistics—2019 update: A report from the American Heart Association," Circulation, vol. 139, no. 10, pp. e56–e528, Mar. 2019.
[3] V. L. Patel, S. Shortliffe, M. Stefanelli, P. Szolovits, M. R. Berthold, R. Bellazzi, and A. Abu-Hanna, "The coming of age of artificial intelligence in medicine," Artificial Intelligence in Medicine, vol. 46, no. 1, pp. 5–17, 2009. DOI: https://doi.org/10.1016/j.artmed.2008.07.017
[4] A. Rajkomar, J. Dean, and I. Kohane, "Machine learning in medicine," New England Journal of Medicine, vol. 380, no. 14, pp. 1347–1358, 2019. DOI: https://doi.org/10.1056/NEJMra1814259
[5] A. Esteva et al., "A guide to deep learning in healthcare," Nature Medicine, vol. 25, no. 1, pp. 24–29, Jan. 2019. DOI: https://doi.org/10.1038/s41591-018-0316-z
[6] C. Krittanawong et al., "Artificial intelligence in precision cardiovascular medicine," Journal of the American College of Cardiology, vol. 69, no. 21, pp. 2657–2664, 2017. DOI: https://doi.org/10.1016/j.jacc.2017.03.571
[7] W. Liu, Z. Wang, X. Liu, N. Zeng, Y. Liu, and F. E. Alsaadi, "A survey of deep neural network architectures and their applications," Neurocomputing, vol. 234, pp. 11–26, Apr. 2017. (Taylor & Francis Online) DOI: https://doi.org/10.1016/j.neucom.2016.12.038
[8] S. J. Al'Aref et al., "Clinical applications of machine learning in cardiovascular disease and its relevance to cardiac imaging," European Heart Journal, vol. 40, no. 24, pp. 1975–1986, 2019.
[9] K. W. Johnson et al., "Artificial intelligence in cardiology," Journal of the American College of Cardiology, vol. 71, no. 23, pp. 2668–2679, 2018. DOI: https://doi.org/10.1016/j.jacc.2018.03.521
[10] T. G. Dietterich, "Ensemble methods in machine learning," in Multiple Classifier Systems, Lecture Notes in Computer Science, vol. 1857. Berlin, Germany: Springer, 2000, pp. 1–15. DOI: https://doi.org/10.1007/3-540-45014-9_1
[11] Z.-H. Zhou, Ensemble Methods: Foundations and Algorithms. Boca Raton, FL, USA: CRC Press, 2012.
[12] O. Sagi and L. Rokach, "Ensemble learning: A survey," Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 8, no. 4, Art. no. e1249, 2018. DOI: https://doi.org/10.1002/widm.1249
[13] M. Jan, A. A. Awan, M. S. Khalid, and S. Nisar, "Ensemble approach for developing a smart heart disease prediction system using classification algorithms," Research Reports in Clinical Cardiology, vol. 9, pp. 33–45, 2018, doi: 10.2147/RRCC.S172035. (Dove Medical Press) DOI: https://doi.org/10.2147/RRCC.S172035
[14] M. H. Ali et al., "Machine learning techniques for heart disease prediction: A comparative study," Proc. International Conference on Innovation in Engineering and Technology, 2020.
[15] R. Bharti, A. Khamparia, M. Shabaz, G. Dhiman, S. Pande, and P. Singh, "Prediction of heart disease using a combination of machine learning and deep learning," Computational Intelligence and Neuroscience, vol. 2021, Art. no. 8387680, 11 pages, 2021, doi: 10.1155/2021/8387680. (PMC) DOI: https://doi.org/10.1155/2021/8387680
[16] A. Janosi, W. Steinbrunn, M. Pfisterer, and R. Detrano, "Heart Disease," UCI Machine Learning Repository, Irvine, CA, USA, 1989. [Online]. Available: https://archive.ics.uci.edu/ml/datasets/Heart+Disease
[17] V. S. Teja and A. Rayalu, "Optimizing heart disease diagnosis with advanced machine learning models," International Journal of Biomedical Engineering and Technology, vol. 54, no. 1, pp. 45–67, 2025. DOI: https://doi.org/10.1186/s12872-025-04627-6
[18] K. Budholiya, A. Gupta, and S. Tiwari, "An optimized XGBoost-based diagnostic system for heart disease prediction," Computers in Biology and Medicine, vol. 148, Art. no. 105821, 2022.
[19] H. Kaur and S. K. Wasan, "Heart disease prediction using machine learning algorithms," in Proc. International Conference on Computing: Theory and Applications (ICCTA 2007). Washington, DC, USA: IEEE Computer Society, 2007, pp. 739–743.
[20] Q. Zhenya, L. Wei, and Z. Hong, "A hybrid cost-sensitive ensemble for heart disease prediction," BMC Medical Informatics and Decision Making, vol. 21, Art. no. 189, 2021. DOI: https://doi.org/10.1186/s12911-021-01436-7
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Aina'u Nadada, Abubakar Aminu Mu'azu, Babangida Zubairu

This work is licensed under a Creative Commons Attribution 4.0 International License.
- Abstract 597
- PDF 151

