$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
We thoroughly evaluated the explanatory AI component of our entire pipeline, assessing how well it predicted across different types of healthcare data, including both structured clinical data and medical images. The outcomes indicated consistent predictive performance across the evaluated datasets. Among the models tested, the gradient boosting model achieved the highest accuracy at 97.4%, followed by the random forest model at 94.2%. Deep learning methods applied to image sets achieved 91.3% accuracy, while multi-layer perceptron models produced marginally lower results, 90.8%. This suggests that ensemble-based machine learning models perform best on structured healthcare data, whereas deep learning architectures excel at imaging tasks. Table 6 outlines in detail various performance metrics for prediction functions, including accuracy, precision, recall, and F1-score, as well as explainability metrics such as fidelity and stability. We arrived at these performance figures by employing five-fold cross-validation and presenting results as mean values (with 95% confidence intervals). Confidence intervals not only indicate the model's uncertainty but also make comparisons of predictive performance more reliable, accounting for dataset memory and differences in model architectures.
| Model | Accuracy (%) | Precision | Recall | F1-Score | Fidelity | Stability | 95% CI |
| Random Forest | 94.2 | 0.93 | 0.92 | 0.92 | 0.85 | 0.82 | 93.1–95.3 |
| XGBoost | 97.4 | 0.96 | 0.95 | 0.95 | 0.92 | 0.89 | 96.5–98.3 |
| MLP | 90.8 | 0.89 | 0.88 | 0.88 | 0.80 | 0.78 | 89.6–92.0 |
| CNN (Imaging) | 91.3 | 0.90 | 0.91 | 0.90 | 0.88 | 0.86 | 90.1–92.5 |
Table 6: Comparative Performance of Predictive Models and Explainability Methods.
This table presents a comparative evaluation of machine learning and deep learning models using predictive performance metrics, including accuracy, precision, recall, F1-score, and ROC-AUC. Additionally, explainability metrics such as fidelity, stability, comprehensibility, and human trust scores are reported to provide a comprehensive assessment of both predictive effectiveness and interpretability.
The results indicate that Gradient Boosting achieved the highest overall predictive performance (97.4% accuracy), outperforming Random Forest by 3.2 percentage points and the deep learning models by more than 6 percentage points. This observation suggests that ensemble-based learning methods were particularly effective for the structured healthcare datasets included in this study. The smaller performance difference between CNN and MLP models indicates that increased model complexity alone did not necessarily translate into superior predictive performance under the evaluated experimental conditions.
To showcase the usefulness of our proposed framework across a variety of healthcare analytics tasks, we present the dataset-specific prediction performance results in Table 7.
Dataset-Specific Analysis.
Performance varied across datasets because of differences in feature complexity, sample size, class distribution, and data modality. The Breast Cancer dataset achieved the highest predictive accuracy, likely due to well-defined feature separability. Slightly lower performance on MIMIC-III and NIH Chest X-ray datasets reflects the greater complexity of longitudinal clinical records and medical imaging data. These findings demonstrate that framework performance is influenced by dataset characteristics and clinical context.
| Dataset | Accuracy (%) | Precision (%) | Recall (%) | F1-score (%) |
| Breast Cancer | 97.4 | 97.2 | 97.6 | 97.1 |
| Diabetes | 94.2 | 93.9 | 94.4 | 94 |
| MIMIC-III | 91.3 | 91 | 91.5 | 91.1 |
| NIH Chest X-ray | 90.8 | 90.4 | 91.2 | 90.6 |
Table 7: Dataset-Specific Predictive Performance Results.
Predictive performance of the proposed explainable AI framework across four representative healthcare datasets. Accuracy, precision, recall, and F1-score are reported as percentages (%) on the independent test sets. Higher values indicate better classification performance.
To assess predictive performance, four machine learning and deep learning models, namely Gradient Boosting, Random Forest, Convolutional Neural Network (CNN), and Multilayer Perceptron (MLP), were evaluated across four representative healthcare datasets. Model performance was assessed using accuracy, precision, recall, F1-score, and ROC-AUC metrics on independent test datasets following a 70:15:15 train-validation-test split and five-fold cross-validation. Improvements in predictive performance were determined by comparing model-specific evaluation metrics across identical preprocessing and validation conditions.
In order to illuminate how model performances differ in various methods, Figure 4 displays the advantages and disadvantages of ensemble, neural network, and deep learning models pictorially.

Figure 4: Comparative Performance of Machine Learning and Deep Learning Models on Healthcare Prediction Tasks. (A) Accuracy comparison of Gradient Boosting, Random Forest, CNN, and MLP models on the test dataset. (B) F1-score comparison of Gradient Boosting, Random Forest, CNN, and MLP models on the test dataset. (C) Precision comparison of Gradient Boosting, Random Forest, CNN, and MLP models on the test dataset. (D) Recall comparison of Gradient Boosting, Random Forest, CNN, and MLP models on the test dataset. Higher values indicate better predictive performance. Gradient Boosting achieved the highest overall performance across all evaluation metrics, followed by Random Forest. Please click here to view a larger version of this figure.
Interpretation of Explainability Performance.
SHAP consistently achieved the highest fidelity and stability scores among the evaluated explainability methods, indicating stronger agreement between generated explanations and underlying model predictions. LIME exhibited comparatively lower stability, suggesting greater sensitivity to local perturbations and sampling variability. Grad-CAM provided visually interpretable explanations for image-based models but produced slightly lower fidelity values than SHAP. These findings indicate that explanation quality depends on both the selected explanation technique and the underlying predictive model architecture.
The explainability techniques integrated in the pipeline have been assessed in terms of their performance quantitatively and qualitatively. Specifically, feature attribution methods have succeeded in uncovering the model's internal logic quite consistently across different data sets.
All the methods considered in the study, SHAP, achieved the highest fidelity (0.92) and stability (0.89) among the evaluated explainability methods. To put it simply, the explanations were very accurate representations of what the model actually predicted. Local explanation methods are a kind of window through which we can see a specific prediction and understand what the model used as its basis for the decision.
Interpretability performance was evaluated using fidelity, stability, comprehensibility, and clinician trust scores obtained from human-centered evaluation. SHAP, LIME, and Grad-CAM explanations were compared using identical datasets and trained models. Improvements in explainability were assessed by comparing explanation quality metrics and clinician ratings across the evaluated explain ability methods. Visualization techniques for deep learning models that work with images essentially produce heat maps, which identify the regions of the images that have the highest relevance to the model's prediction. Feature importance distributions and explainability performance comparisons across different methods are shown in Figure 5.

Figure 5: Explainability Performance Evaluation.The figure presents the performance of explainability methods with the help of fidelity and stability metrics. SHAP leads the way in fidelity (0.92) and stability (0.89), which reflects good agreement between explanations and model predictions. LIME comes out as the best tool for the interpretability of individual examples. On the other hand, Grad-CAM outputs visual heatmaps mainly used in imaging models, showing coarsely the most important regions responsible for the prediction of the model, which, from a clinical point of view, might be very relevant.Please click here to view a larger version of this figure.
After evaluating the predictive models and techniques for interpretability, it was revealed that the correlation between the accuracy of a model and the dependability of its explanations is very strong. In fact, the same models that showed prediction improvements were also explaining their results with more stability and consistency when the interpretability techniques were properly applied. Ensemble models were found to be the most interpretable when accompanied with feature attribution methods, whereas deep learning models were better served by visualization-based explainable methods. The link that ties together the accuracy of prediction and the reliability of explanations can be seen in Figure 6, which outlines the conceptual dynamics between model and explainability in great detail.

Figure 6: Comparative analysis of models and explain ability methods.The chart shows a detailed comparison of the accuracy and explain ability measures of various models. It comprises a scatter graph depicting the correlation between accuracy and explanation stability, a tabular comparison of performances, and a suitability matrix outlining the different explain ability methods SHAP, LIME, and Grad-CAM, and their effectiveness with different model types. The visual clearly shows that ensemble models plus SHAP deliver great interpretability, whereas deep learning models are explainable through visualization techniques. Please click here to view a larger version of this figure.
The human-centered evaluation confirmed the real-world usefulness of the suggested system in hospitals and other clinical facilities. Medical professionals reviewed model outputs with and without explanations. Showing the results with explanations led to a considerable increase in user trust and interpretability; the average trust value rose from 3.1 to 4.7 on the scale of 1 to 5. The increase in trust score from 3.1 to 4.7 represents an approximate relative improvement of 51.6%. The substantial inter-rater agreement (Fleiss' κ = 0.81) further indicates consistent clinician assessment of explanation usefulness. These findings suggest that explainability outputs may improve user confidence and facilitate the interpretation of AI-assisted clinical decisions. Professionals stated better comprehension of model outputs and higher trust in AI-supported judgment of clinical situations, which points to the significance of interpretability in the actual implementation of healthcare.
We further verified the robustness of our framework with ablation analysis. Removal of critical features that, through explainability methods, were deemed essential resulted in a major loss of prediction performance. Thus, the finding reflects that features were not only pertinent but also significant to the predictive task. In addition, the explanation results kept displaying only negligible differences when different input samples were explained, hence showing the stability and reliability of the explainability methods.
To check the feasibility of the pipeline for practical use, we measured its computational speed. The introduction of explainability techniques caused some increase in computational time, especially when attributing features and creating visualizations. Nevertheless, the total execution time was still feasible and not too long. Figure 7 shows how the computational time is shared among different stages of the pipeline, such as preprocessing, model training, explainability generation, evaluation, and visualization.

Figure 7: Breakdown of Pipeline Execution Time. This chart shows how computational time is divided among various phases of the explainable AI pipeline, such as preprocessing, model training, explain ability creation, evaluation, and visualization. The data reveal that the majority of the timeline is taken up by model training, which is then followed by explain ability processing. On the other hand, the time spent on preprocessing and reporting is quite minimal. Please click here to view a larger version of this figure.
We tested the strength of the proposed framework through an ablation analysis as well. Taking away the essential features discovered via explainability methods showed a clear decrease in predictive performance, which is a clear sign that those features are not only relevant but also quite important. Besides that, explanation outputs were quite stable even when there was a slight change in the input samples, which is proof of the consistency and reliability of the explainability techniques.
In short, by combining the measurement of predictive performance, explainability, and human-focused validation, it was shown that the proposed framework was effective. The system not only made very accurate predictions, but it also remained highly interpretable and easy to use. Bringing in explainability methods made the whole process transparent without taking a hit on the model's performance. The improvements we saw in prediction accuracy and interpretability were not only made under tight experimental control, but they were also statistically significant, a fact that speaks for the endurance and the authenticity of the proposed way. Pairwise comparisons among predictive models were performed using paired t-tests across cross-validation folds. Statistically significant differences were observed between Gradient Boosting and competing models (p < 0.05), confirming the superiority of the proposed configuration.
Overall Findings.
Collectively, the results demonstrate that predictive performance, explanation quality, and clinician trust can be evaluated within a unified and reproducible workflow. The framework maintained consistent performance across multiple healthcare datasets while supporting transparent interpretation through SHAP, LIME, and Grad-CAM explanations. However, the findings should be interpreted within the context of the selected datasets and validation settings, and additional external validation remains necessary before real-world deployment.
DATA AVAILABILITY:
We obtained the datasets used in the current research from public sources, and they can be found in well-known data repositories. For instance, the data pertaining to breast cancer and diabetes are downloadable from the UCI Machine Learning Repository at: https://archive.ics.uci.edu/ml/index.php
One can get the electronic health record dataset (MIMIC-III) via Physio Net at:
https://physionet.org/content/mimiciii/1.4/
The chest X-ray imaging data was drawn from the NIH Chest X-ray Dataset and may be found at: https://www.kaggle.com/datasets/nih-chest-xrays/data
All the datasets we have explored in this study are anonymized and made publicly available. The preprocessing steps, trained model, and the explain ability outputs that we produced during the research are available through the corresponding author if a reasonable request is made. Source code, preprocessing scripts, configuration files, and reproducibility resources will be deposited in a public repository upon manuscript acceptance.