Open Access iconOpen Access

ARTICLE

crossmark

A Deep Learning Framework for Heart Disease Prediction with Explainable Artificial Intelligence

Muhammad Adil1, Nadeem Javaid1,*, Imran Ahmed2, Abrar Ahmed3, Nabil Alrajeh4,*

1 International Graduate School of AI, National Yunlin University of Science and Technology, Douliu, 64002, Taiwan
2 School of Computing and Information Science, Anglia Ruskin University, Cambridge, CB11PT, UK
3 Department of Electrical and Computer Engineering, COMSATS University Islamabad, Islamabad, 44000, Pakistan
4 Department of Biomedical Technology, College of Applied Medical Sciences, King Saud University, Riyadh, 11633, Saudi Arabia

* Corresponding Authors: Nadeem Javaid. Email: email; Nabil Alrajeh. Email: email

Computers, Materials & Continua 2026, 86(1), 1-20. https://doi.org/10.32604/cmc.2025.071215

Abstract

Heart disease remains a leading cause of mortality worldwide, emphasizing the urgent need for reliable and interpretable predictive models to support early diagnosis and timely intervention. However, existing Deep Learning (DL) approaches often face several limitations, including inefficient feature extraction, class imbalance, suboptimal classification performance, and limited interpretability, which collectively hinder their deployment in clinical settings. To address these challenges, we propose a novel DL framework for heart disease prediction that integrates a comprehensive preprocessing pipeline with an advanced classification architecture. The preprocessing stage involves label encoding and feature scaling. To address the issue of class imbalance inherent in the personal key indicators of the heart disease dataset, the localized random affine shadowsampling technique is employed, which enhances minority class representation while minimizing overfitting. At the core of the framework lies the Deep Residual Network (DeepResNet), which employs hierarchical residual transformations to facilitate efficient feature extraction and capture complex, non-linear relationships in the data. Experimental results demonstrate that the proposed model significantly outperforms existing techniques, achieving improvements of 3.26% in accuracy, 3.16% in area under the receiver operating characteristics, 1.09% in recall, and 1.07% in F1-score. Furthermore, robustness is validated using 10-fold cross-validation, confirming the model’s generalizability across diverse data distributions. Moreover, model interpretability is ensured through the integration of Shapley additive explanations and local interpretable model-agnostic explanations, offering valuable insights into the contribution of individual features to model predictions. Overall, the proposed DL framework presents a robust, interpretable, and clinically applicable solution for heart disease prediction.

Keywords

Heart disease; deep learning; localized random affine shadowsampling; local interpretable model-agnostic explanations; shapley additive explanations; 10-fold cross-validation

Cite This Article

APA Style
Adil, M., Javaid, N., Ahmed, I., Ahmed, A., Alrajeh, N. (2026). A Deep Learning Framework for Heart Disease Prediction with Explainable Artificial Intelligence. Computers, Materials & Continua, 86(1), 1–20. https://doi.org/10.32604/cmc.2025.071215
Vancouver Style
Adil M, Javaid N, Ahmed I, Ahmed A, Alrajeh N. A Deep Learning Framework for Heart Disease Prediction with Explainable Artificial Intelligence. Comput Mater Contin. 2026;86(1):1–20. https://doi.org/10.32604/cmc.2025.071215
IEEE Style
M. Adil, N. Javaid, I. Ahmed, A. Ahmed, and N. Alrajeh, “A Deep Learning Framework for Heart Disease Prediction with Explainable Artificial Intelligence,” Comput. Mater. Contin., vol. 86, no. 1, pp. 1–20, 2026. https://doi.org/10.32604/cmc.2025.071215



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 605

    View

  • 205

    Download

  • 0

    Like

Share Link