A subscription to JoVE is required to view this content. Sign in or start your free trial.

Research Article

A Reproducible Protocol for Developing and Evaluating Explainable Artificial Intelligence Frameworks in Healthcare Analytics

123 views

⸱

DOI:

10.3791/71999

⸱

July 31st, 2026

In This Article

Summary

Here, we present a reproducible protocol for developing and evaluating explainable artificial intelligence models for healthcare analytics. The workflow integrates data preprocessing, predictive modeling, SHAP-, LIME-, and Grad-CAM-based explainability, quantitative evaluation, and human-centered validation to support transparent and trustworthy clinical decision-making.

Abstract

Explainable Artificial Intelligence (XAI) is increasingly recognized as an indispensable tool for building trustworthy AI systems in healthcare, where transparency and the ability to explain decisions are essential components of clinical decision-making. This publication presents a reproducible experimental approach to developing and evaluating explainable AI systems for healthcare analytics. The developed pipeline integrates the steps of data preprocessing, predictive modeling, interpretation generation, and evaluation into one seamless workflow that can be applied to both structured clinical data and medical imaging datasets. Ensemble machine learning models have demonstrated strong predictive performance on structured tabular datasets, whereas deep learning models are effective for learning complex patterns in medical imaging data. Techniques such as SHAP, LIME, and Grad-CAM are global and local explanations that facilitate model interpretation. Very helpful. The quantitative assessment of the framework spans many different metrics such as accuracy, precision, recall, F1 score, ROC-AUC, explanation metrics, fidelity, and stability. The results indicate that when the experimental conditions are controlled, the framework demonstrated improved predictive performance and explanation quality under the evaluated experimental conditions. As a document guided by protocol, this piece of work backs the reproducibility and scalability, the persistent implementation by other living beings. This transparent, understandable AI model is the foundation upon which clinical decision-making support and healthcare analytics systems gain trust and usage on a large scale.

Introduction

Artificial intelligence (AI) has become an important component of modern healthcare by supporting disease diagnosis, prognosis, risk stratification, medical image analysis, and clinical decision-making1. Advances in machine learning and deep learning have enabled healthcare systems to process large volumes of structured and unstructured data, often achieving predictive performance comparable to or exceeding conventional statistical approaches2. Despite these advances, many AI models operate as complex black-box systems, making it difficult for clinicians and healthcare stakeholders to understand how predictions are gener....

Access restricted. Please log in or start a trial to view this content.

Protocol

All datasets used in this study were obtained from publicly available and fully anonymized repositories, including the UCI Machine Learning Repository, PhysioNet MIMIC-III database, and NIH Chest X-ray datasets. No identifiable patient information was accessed. The study complied with institutional research ethics guidelines for secondary analysis of publicly available de-identified data. Formal Institutional Review Board approval was not required because no human participants were directly recruited and no protected health information was used.

1. Overview of the Experimental Frameworks

  1. Develop a reproducible, ....

Access restricted. Please log in or start a trial to view this content.

Results

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 .......

Access restricted. Please log in or start a trial to view this content.

Discussion

This study developed and evaluated a reproducible explainable artificial intelligence (XAI) workflow for healthcare analytics that integrates predictive modeling, explainability assessment, clinician-centered evaluation, and reproducibility resources within a single protocol. The results demonstrated that ensemble-based machine learning models, particularly Gradient Boosting and Random Forest, achieved the highest predictive performance on the evaluated structured healthcare datasets, whereas deep learning models were mo.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors declare that they have no competing financial interests or conflicts of interest related to this work. The research was conducted independently without any commercial or financial relationships that could be construed as a potential conflict of interest.

Artificial Intelligence Usage Disclosure

Artificial intelligence tools were used for language refinement, grammar checking, and editorial assistance during manuscript preparation. All scientific content, experimental design, data analysis, interpretation, and final manuscript verification were performed by the authors. The authors reviewed and validated all AI-assisted outputs to ensure accuracy, integrity, and compliance with journal guidelines.

Acknowledgements

The authors would like to thank their respective institutions for providing the necessary infrastructure and research support to carry out this study. The authors also acknowledge the use of publicly available datasets and open-source tools that facilitated the development and evaluation of the proposed explainable AI framework. Special thanks are extended to domain experts who provided valuable insights during the human-centered evaluation phase.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
GPU WorkstationManufacturer dependentNATraining deep learning models
Jupyter NotebookProject JupyterLatest stable releaseInteractive experiment execution
LIMELIMEVersion 0.2.0Local interpretable explanations
MatplotlibMatplotlib ProjectVersion 3.9Data visualization
MIMIC-III DatabasePhysioNetVersion 1.4Electronic health record analysis
NIH Chest X-ray DatasetNIH Clinical CenterPublic DatasetThoracic disease classification
NumPyNumPy DevelopersVersion 1.26Numerical computing and array operations
OpenCVOpenCV FoundationVersion 4.10Image preprocessing
PandasPandas Development TeamVersion 2.1Data manipulation and preprocessing
Pima Indians Diabetes DatasetUCI Machine Learning RepositoryPublic DatasetDiabetes risk prediction
Python 3.11Python Software FoundationVersion 3.11Primary programming environment
Scikit-learnscikit-learnVersion 1.5Machine learning algorithms and evaluation
SeabornSeabornVersion 0.13Statistical visualization
SHAPSHAPVersion 0.46Feature attribution and explainability
TensorFlowTensorFlowVersion 2.15Deep learning model development
Windows / Ubuntu LinuxMicrosoft / CanonicalNAOperating system
Wisconsin Breast Cancer DatasetUCI Machine Learning RepositoryPublic DatasetBreast cancer diagnosis

References

  1. Lundberg SM, et al. From local explanations to global understanding with explainable AI for trees. Nat Mach Intell. 2020;2(1):56-67.
  2. Ribeiro MT, Singh S, Guestrin C. Why should I trust you. Explaining the predictions of any classifier. Presented at: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; 2016. p. 1135-44. doi:10.1145/2939672.2939778.
  3. Selvaraju RR, et al. Grad-CAM: Visual explanations from deep networks via gradient-based localization. Int J Comput Vis. 2020;128(2):336-59.
  4. Tjoa E, Guan C. A survey on explainable artificial intelligence: Toward medical XAI. IEEE Trans Neural Netw Learn Sys....

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Tags

Explainable AIPredictive ModelingModel InterpretationClinical Decision-MakingEnsemble LearningDeep LearningMedical ImagingSHAP ExplanationsLIME Explanations