Cardiovascular disease remains one of the leading causes of mortality worldwide, necessitating the development of accurate and interpretable predictive systems that support early diagnosis and clinical decision-making. While numerous machine learning models have demonstrated promising predictive capabilities, many operate as black-box systems that provide limited transparency regarding how predictions are generated. This lack of interpretability presents significant challenges in healthcare environments where trust, accountability, and regulatory compliance are essential. This study presents a comparative evaluation of six supervised machine learning classifiers for heart disease prediction using the Cleveland Heart Disease Dataset. The evaluated models include Decision Tree, Logistic Regression, Support Vector Machine, K-Nearest Neighbours, Random Forest, and Gradient Boosting. A comprehensive machine learning pipeline comprising data preprocessing, feature selection, hyperparameter optimization, repeated stratified cross-validation, and performance evaluation was implemented. Explainable Artificial Intelligence (XAI) techniques based on SHAP were integrated to provide both global and local interpretability of model predictions. Experimental results demonstrate that the Decision Tree classifier achieved the highest overall performance, attaining an accuracy of 98.54%, precision of 98.21%, recall of 98.34%, and F1-score of 98.27%. Furthermore, SHAP-based analysis revealed that chest pain type, number of major vessels, exercise-induced angina, maximum heart rate, and ST depression were the most influential predictors of cardiovascular disease risk. The findings indicate that interpretable machine learning models can achieve predictive performance comparable to or exceeding more complex algorithms while maintaining transparency and clinical usability. The study contributes a reproducible framework for explainable cardiovascular disease prediction and demonstrates the feasibility of integrating interpretable machine learning models into clinical decision support systems. The proposed approach offers a foundation for trustworthy healthcare artificial intelligence applications that balance predictive accuracy with explainability.
Keywords: Heart Disease Prediction, Machine Learning, Decision Tree, Explainable Artificial Intelligence, SHAP, Clinical Decision Support System, Cardiovascular Disease, Predictive Analytics, Healthcare Artificial Intelligence, Medical Diagnosis, Clinical Interpretability.
Agbemade, E. (2023). Predicting heart disease using tree-based model. Data Science and Data Mining. https://stars. library.ucf.edu/data-science-mining/1.
Al-Alshaikh, H.A., Pereira, A., Ramesh, K.S., & Poonia, R.C. (2024). Comprehensive evaluation and performance analysis of machine learning in heart disease prediction. Scientific Reports, 14: 7819.
Ali, M.M., Paul, B.K., Ahmed, K., Bui, F.M., Quinn, J.M.W., & Moni, M.A. (2024). Machine learning approach for predicting cardiovascular disease in Bangladesh: Evidence from a cross-sectional study in 2023. BMC Cardiovascular Disorders, 24: 214. https://doi.org/10.1186/s12872-024-03883-2.
Alqahtani, A., Alsubai, S., Sha, M., Vilcekova, L., & Javed, T. (2022). Cardiovascular disease detection using ensemble learning. Journal of Healthcare Engineering, 2022: Article 5267498. https://doi.org/10.1155/20 22/5267498.
Asadi, F., Homayounfar, R., Mehrali, Y., Masci, C., Talebi, S., & Zayeri, F. (2024). Detection of cardiovascular disease cases using advanced tree-based machine learning algorithms. Scientific Reports, 14: 22230. https://doi. org/10.1038/s41598-024-72819-9.
Benjamin, E.J., Muntner, P., Alonso, A., Bittencourt, M.S., Callaway, C.W., Carson, A.P., Chamberlain, A.M., Chang, A.R., Cheng, S., Das, S.R., Delling, F.N., Djousse, L., Elkind, M.S.V., Ferguson, J.F., Fornage, M., Jordan, L.C., Khan, S.S., Kissela, B.M., Knutson, K.L., & Virani, S.S. (2019). Heart disease and stroke statistics—2019 update: A report from the American Heart Association. Circulation, 139(10): e56–e528. https://doi.org/10. 1161/cir.0000000000000659.
Breiman, L. (2001). Random forests. Machine Learning, 45(1): 5–32.
Detrano, R., Janosi, A., Steinbrunn, W., Pfisterer, M., Schmid, J.J., Sandhu, S., Guppy, K.H., Lee, S., & Froelicher, V. (1989). International application of a new probability algorithm for the diagnosis of coronary artery disease. Journal of the American College of Cardiology, 14(4): 1017–1022.
El-Sofany, H., Bouallegue, B., & Abd El-Latif, Y.M. (2024). A proposed technique for predicting heart disease using machine learning algorithms and an explainable AI method. Scientific Reports, 14: 23277.
Ganie, S.M., Pramanik, P.K.D., & Zhao, Z. (2025). Predicting cardiovascular risk with hybrid ensemble learning and explainable AI. Scientific Reports, 15: 13912. https://doi.org/10.1038/s41598-025-18952-6.
Verma, N., Sharma, T., & Kaur, B. (2025). Explanation of machine learning algorithms used in disease detection, such as decision trees and neural networks. In AI in Disease Detection: Advancements and Applications, Pages 27–52. https://doi.org/10.1080/10255842.2024.2319706.
Hansha, H., Haass, S., Dimeski, G., Holc, M.T., Raisi, E., El-Deen, M., Bolad, N.A., Venugopal, G., Lokuge, S., Liu, C.M., Wong, I.A.M., Joshi, V.K., & Bansal, R. (2025). An efficient artificial neural network-based optimization techniques for the early prediction of coronary heart disease: Comprehensive analysis. Scientific Reports, 15: 4827. https://doi.org/10.1038/s41598-025-85765-x.
Hassan, C.A., Iqbal, I., Hussain, S.A., Algarni, A., Bukhari, S.I., Alturki, O., & Haque, M.U. (2022). Effectively predicting the presence of coronary heart disease using machine learning classifiers. Sensors, 22(19): 7227. https://doi.org/10.3390/s22197227.
Johnson, K.W., Torres Soto, J., Glicksberg, B.S., Shameer, K., Miotto, R., Ali, M., Ashley, E., & Dudley, J.T. (2018). Artificial intelligence in cardiology. Journal of the American College of Cardiology, 71(23): 2668–2679. https://doi.org/10.1016/j.jacc.2018.03.521.
Kumar, A., Dhanka, S., Sharma, A., Bansal, R., Fahlevi, M., Rabby, F., & Aljuaid, M. (2025). A hybrid framework for heart disease prediction using classical and quantum-inspired machine learning techniques. Scientific Reports, 15: 25040. https://doi.org/10.1038/s41598-025-09957-1.
Mensah, G.A., Roth, G.A., & Fuster, V. (2019). The global burden of cardiovascular diseases and risk factors. Journal of the American College of Cardiology, 74(20): 2529–2532.
Narasimhan, G., & Victor, A. (2025). A hybrid approach with metaheuristic optimization and random forest in improving heart disease prediction. Scientific Reports, 15: 10971. https://doi.org/10.1038/s41598-025-15951-8.
Powers, D.M.W. (2011). Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. Journal of Machine Learning Technologies, 2(1): 37–63.
Quinlan, J.R. (1986). Induction of decision trees. Machine Learning, 1(1): 81–106.
Rao, G.M., Ramesh, D., Sharma, V., Sinha, A., Hassan, M.M., & Gandomi, A.H. (2024). AttGRU-HMSI: Enhancing heart disease diagnosis using hybrid deep learning approach. Scientific Reports, 14: 7833. https://doi. org/10.1038/s41598-024-56931-4.
Rehman, M.U., Naseem, S., Butt, A.U.R., Mahmood, T., Khan, A.R., Khan, I., Khan, J., & Jung, Y. (2025). Predicting coronary heart disease with advanced machine learning classifiers for improved cardiovascular risk assessment. Scientific Reports, 15: 13361. https://doi.org/10.1038/s41598-025-96437-1.
Rimal, S., Tiwari, H., & Gupta, D. (2025). Comparative analysis of heart disease prediction using logistic regression, SVM, KNN, and random forest with cross-validation for improved accuracy. Scientific Reports, 15: 13444. https://doi.org/10.1038/s41598-025-93675-1.
Rohan, D., Reddy, G.P., Kumar, Y.V.P., Prakash, K.P., & Reddy, C. (2025). An extensive experimental analysis for heart disease prediction using artificial intelligence techniques. Scientific Reports, 15: 6132. https://doi. org/10.1038/s41598-025-90530-1.
Roth, G.A., Mensah, G.A., Johnson, C.O., Addolorato, G., Ammirati, E., Baddour, L.M., Barengo, N.C., Beaton, A.Z., Benjamin, E.J., Benziger, C.P., Bonny, A., Brauer, M., Brodmann, M., Cahill, T.J., Carapetis, J., Catapano, A.L., Chugh, S.S., Cooper, L.T., Coresh, J., & Murray, C.J.L. (2020). Global burden of cardiovascular diseases and risk factors, 1990–2019. Journal of the American College of Cardiology, 76(25): 2982–3021.
Shouman, M., Turner, T., & Stocker, R. (2011). Using decision tree for diagnosing heart disease patients. In Proceedings of the 9th Australasian Data Mining Conference (AusDM 2011), Pages 23–30.
Sokolova, M., & Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing & Management, 45(4): 427–437. https://doi.org/10.1016/j.ipm.2009.03.002.
Topol, E.J. (2019). High-performance medicine: The convergence of human and artificial intelligence. Nature Medicine, 25(1): 44–56. https://doi.org/10.1038/s41591-018-0300-7.
Tu, Y., Wang, Y., Wang, G., Wu, J., Liu, Y., Wang, S., & Cai, X. (2013). High-level expression and immunogenicity of a porcine circovirus type 2 capsid protein through codon optimization in Pichia pastoris. Applied Microbiology and Biotechnology, 97(7): 2867–2875.
Wilson, P.W.F., D'Agostino, R.B., Levy, D., Belanger, A.M., Silbershatz, H., & Kannel, W.B. (1998). Prediction of coronary heart disease using risk factor categories. Circulation, 97(18): 1837–1847.
World Health Organization (2023). Cardiovascular diseases (CVDs). World Health Organization. https://www. who.int/health-topics/cardiovascular-diseases.
Xia, B., Innab, N., Kandasamy, V., Sharma, A., Ahmad, W., Ullah, S., & Gandomi, A.H. (2024). Intelligent cardiovascular disease diagnosis using deep learning enhanced neural network with ant colony optimization. Scientific Reports, 14: 7833. https://doi.org/10.1038/s41598-024-56931-4.
Wang, Y., Zhang, S., Li, F., Zhou, Y., Zhang, Y., Wang, Z., & Zhu, F. (2020). Therapeutic target database 2020: Enriched resource for facilitating research and early development of targeted therapeutics. Nucleic Acids Research, 48(d1): d1031–d1041.
Source of Funding:
The authors received no specific funding for this research.
Competing Interests Statement:
The authors declare that there are no competing interests regarding the publication of this manuscript.
Consent for publication:
The authors declare that they consented to the publication of this study.
Authors' contributions:
Author 1: Conceptualization, methodology, software development, data analysis, writing of original draft. Author 2: Validation, supervision, review, and editing. Author 3: Investigation, visualization, proofreading, and manuscript revision.
Availability of data and materials:
The dataset utilized in this study is publicly available through the UCI Machine Learning Repository (Cleveland Heart Disease Dataset).
Ethical Approval:
The study utilized anonymized secondary data obtained from publicly accessible repositories.
Institutional Review Board Statement:
Not Applicable.
Informed Consent:
Not Applicable.
Acknowledgement:
The authors acknowledge the UCI Machine Learning Repository for providing access to the Cleveland Heart Disease Dataset and appreciate the support provided by their respective institutions during the conduct of this study.
Declaration of Artificial Intelligence:
Artificial Intelligence tools were utilized solely for language enhancement, grammar checking, and editorial support during manuscript preparation. All scientific interpretations, analyses, conclusions, and final content were independently reviewed and validated by the authors.
A New Issue was published – Volume 9, Issue 1, 2026
12-01-2026 10-10-2025