EXPLAINABLE PREDICTION OF HEART DISEASE USING CLINICAL INDICATORS
DOI:
https://doi.org/10.69980/tp9k1h29Keywords:
Breast cancer diagnosis, Tumor morphology, Explainable artificial intelligence, Machine learning, SHAP analysisAbstract
Heart disease remains a leading cause of morbidity and mortality worldwide, highlighting the need for accurate and transparent prediction models that can support timely clinical decision-making. Although machine learning has significantly improved the prediction of cardiovascular disease, the limited interpretability of many predictive models restricts their clinical adoption. This study proposes an explainable machine learning framework for predicting heart disease using routinely collected clinical indicators from the UCI Heart Disease dataset comprising 303 patient records and 13 predictor variables. Following data preprocessing, five supervised machine learning algorithms, including Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, and Extreme Gradient Boosting (XGBoost), were developed and comparatively evaluated. Model performance was assessed using accuracy, precision, recall, F1-score, and receiver operating characteristic area under the curve (ROC–AUC). Explainability was incorporated through SHapley Additive exPlanations (SHAP) to quantify the contribution of individual clinical variables to prediction outcomes. Among the evaluated models, XGBoost achieved the highest predictive performance with an accuracy of 92% and an ROC–AUC of 0.96. SHAP analysis identified chest pain type, number of major vessels, ST depression, maximum heart rate, age, and thalassemia as the most influential predictors of heart disease, providing clinically meaningful explanations for model decisions. The findings demonstrate that integrating explainable artificial intelligence with machine learning can improve both predictive performance and model transparency, thereby supporting trustworthy clinical decision support and facilitating early cardiovascular risk assessment. Future research should validate the proposed framework using larger multicentre datasets and real-world clinical data.
References
1.Abbas, Q., Jeong, W., & Lee, S. W. (2025, August). Explainable AI in clinical decision support systems: a meta-analysis of methods, applications, and usability challenges. In Healthcare (Vol. 13, No. 17, p. 2154). MDPI.
2.Alanzi, S. S., Almayouf, S. M. A., Alotaibi, K. M. N., Alanazi, A. O. A., Ghuwayzi, H., Alharbi, O. N., & Aldajani, O. H. O. (2025). Global burden, risk factors, and evidence-based strategies for cardiovascular disease prevention: a comprehensive systematic review. Journal of Angiotherapy, 9(1), 1-20.
3.Baghdadi, N. A., Farghaly Abdelaliem, S. M., Malki, A., Gad, I., Ewis, A., & Atlam, E. (2023). Advanced machine learning techniques for cardiovascular disease early detection and diagnosis. Journal of Big Data, 10(1), 144.
4.Chong, B., Jayabaskaran, J., Jauhari, S. M., Chan, S. P., Goh, R., Kueh, M. T. W., ... & Chan, M. Y. (2025). Global burden of cardiovascular diseases: projections from 2025 to 2050. European journal of preventive cardiology, 32(11), 1001-1015.
5.Coran, J. J., Schario, M. E., & Pronovost, P. J. (2022). Stratifying for value: an updated population health risk stratification approach. Population Health Management, 25(1), 91-99.
6.Elhaddad, M., & Hamam, S. (2024). AI-driven clinical decision support systems: an ongoing pursuit of potential. Cureus, 16(4).
7.Ge, X., Tao, Y., Zhang, L., Cao, J., Dong, X., & Ma, L. (2026). Development of a predictive model for in-hospital new-onset atrial fibrillation in older adults with hypertension and acute myocardial infarction, enhanced by SHAP interpretability: a retrospective cohort study. Frontiers in Medicine, 13, 1747281.
8.Janosi, A., Steinbrunn, W., Pfisterer, M., Detrano, R., Mittleman, M., Gotsman, I., & Schmid, J. (1988). Heart Disease [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C52P4X
9.Kolla, S. K. (2023). Explainable AI and ML Models for Transparent Clinical Decision Support. Journal for ReAttach Therapy and Developmental Diversities, 6, 2444-2460.
10.Ladbury, C., Zarinshenas, R., Semwal, H., Tam, A., Vaidehi, N., Rodin, A. S., ... & Amini, A. (2022). Utilization of model-agnostic explainable artificial intelligence frameworks in oncology: a narrative review. Translational cancer research, 11(10), 3853.
11.Liu, X., Wu, Y., Li, F., Qi, X., Niu, L., Wu, Y., ... & Yu, P. (2025). Global burden of early-onset ischemic heart disease, 1990 to 2019. JACC: Advances, 4(1), 101466.
12.Liza, I. A., Hossain, S. F., Saima, A. M., Akter, S., Akter, R., Al Amin, M., ... & Marzan, A. (2025). Heart disease risk prediction using machine learning: A data-driven approach for early diagnosis and prevention. British Journal of Nursing Studies, 5(1), 38-54.
13.Mahmood, H., & Pinky, K. N. (2024). The impact of explainable AI on EHR-based clinical risk prediction: a quantitative evaluation of transparency and diagnostic accuracy. International Journal of Scientific Interdisciplinary Research, 5(2), 593-631.
14.Naser, M. A., Majeed, A. A., Alsabah, M., Al-Shaikhli, T. R., & Kaky, K. M. (2024). A review of machine learning’s role in cardiovascular disease prediction: recent advances and future challenges. Algorithms, 17(2), 78.
15.Peng, M., Hou, F., Cheng, Z., Shen, T., Liu, K., Zhao, C., & Zheng, W. (2023). Prediction of cardiovascular disease risk based on major contributing features. Scientific Reports, 13(1), 4778.
16.Quezada-Diaz, F. F., Acevedo, J., González, M., Tello, A., Castillo, R., Morales, C., ... & Kusanovich, R. (2025). Assessing the impact of a single qualitative fecal immunochemical test on colonoscopy prioritization and mortality in risk-stratified patients with suspected colorectal cancer: A retrospective cohort study. The Lancet Regional Health–Americas, 50.
17.Rehman, S., Rehman, E., Ikram, M., & Jianglin, Z. (2021). Cardiovascular disease (CVD): assessment, prediction and policy implications. BMC public health, 21(1), 1299.
18.Rongali, S. K. (2023). Explainable Artificial Intelligence (XAI) Framework for Transparent Clinical Decision Support Systems. International Journal of Medical Toxicology and Legal Medicine, 26(3), 22-31.
19.Tuan, D. A. (2024). Bridging the gap between black box AI and clinical practice: Advancing explainable AI for trust, ethics, and personalized healthcare diagnostics.
20.Vaduganathan, M., Mensah, G. A., Turco, J. V., Fuster, V., & Roth, G. A. (2022). The global burden of cardiovascular diseases and risk: a compass for future health. Journal of the American College of Cardiology, 80(25), 2361-2371.
21.Walia, S., Walia, S., Bhardwaj, A., Arora, S., Aggarwal, S., & Siwach, P. (2026). Explainable soft-voting classifier for heart disease prediction using SHAP and LIME. Discover Computing, 29(1), 83.
22.Wang, M. (2025). Explainable machine learning-based cardiovascular disease prediction in patients with hypertension: Algorithm comparison and SHapley Additive exPlanations (SHAP) analysis. Archives of Cardiovascular Diseases.
23.Wang, M. (2025). Explainable machine learning-based cardiovascular disease prediction in patients with hypertension: Algorithm comparison and SHapley Additive exPlanations (SHAP) analysis. Archives of Cardiovascular Diseases.
24.Xu, Q., Xie, W., Liao, B., Hu, C., Qin, L., Yang, Z., ... & Luo, A. (2023). Interpretability of clinical decision support systems based on artificial intelligence from technological and medical perspective: a systematic review. Journal of healthcare engineering, 2023(1), 9919269.
25.Yang, H., Ma, Q., Han, L., & Liu, H. (2025). A global prediction of cardiovascular disease from 2020 to 2030. Frontiers in cardiovascular medicine, 12, 1462705.





