COMPARATIVE ANALYSIS OF LIME AND SHAP FOR EXPLAINABLE DIABETES PREDICTION

Diabetes mellitus is one of the most rapidly growing chronic diseases worldwide, affecting millions of individuals and creating a major burden on healthcare systems. Early detection and accurate risk prediction are essential to reduce complications such as cardiovascular disease, kidney failure, neuropathy, and vision loss. In recent years, machine learning techniques have significantly improved the accuracy of disease prediction models. However, many machine learning models operate as black boxes, making it difficult for medical professionals to understand how predictions are generated. This lack of interpretability reduces trust and limits the practical adoption of these models in clinical environments. To address this issue, explainable artificial intelligence (XAI) techniques have been introduced to provide transparency in model decisions. This study presents a comparative analysis of two widely used explanation methods, Local Interpretable Model-Agnostic Explanations (LIME) and SHapley Additive exPlanations (SHAP), applied to diabetes prediction. The proposed system uses the Pima Indians Diabetes Dataset and employs the Light Gradient Boosting Machine (LightGBM) algorithm for accurate prediction. Data preprocessing techniques such as handling missing values, normalization, and feature selection are applied to improve model performance. LIME and SHAP are integrated to provide both local and global explanations for predictions, highlighting how clinical factors such as glucose level, body mass index, age, and insulin influence outcomes. The system is implemented as a full-stack web application with a FastAPI backend and a Reactbased frontend to provide an interactive dashboard for healthcare professionals. Experimental results demonstrate that the model achieves high predictive performance while maintaining interpretability. The comparative analysis shows that SHAP provides more consistent global explanations, while LIME offers intuitive local explanations for individual predictions.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-03-21
DOI
https://doi.org/10.5281/zenodo.19146678
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

COMPARATIVE ANALYSIS OF LIME AND SHAP FOR EXPLAINABLE DIABETES PREDICTION

IJERST
Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare
article

COMPARATIVE ANALYSIS OF LIME AND SHAP FOR EXPLAINABLE DIABETES PREDICTION

IJERST
article en

Abstract

Diabetes mellitus is one of the most rapidly growing chronic diseases worldwide, affecting millions of individuals and creating a major burden on healthcare systems. Early detection and accurate risk prediction are essential to reduce complications such as cardiovascular disease, kidney failure, neuropathy, and vision loss. In recent years, machine learning techniques have significantly improved the accuracy of disease prediction models. However, many machine learning models operate as black boxes, making it difficult for medical professionals to understand how predictions are generated. This lack of interpretability reduces trust and limits the practical adoption of these models in clinical environments. To address this issue, explainable artificial intelligence (XAI) techniques have been introduced to provide transparency in model decisions. This study presents a comparative analysis of two widely used explanation methods, Local Interpretable Model-Agnostic Explanations (LIME) and SHapley Additive exPlanations (SHAP), applied to diabetes prediction. The proposed system uses the Pima Indians Diabetes Dataset and employs the Light Gradient Boosting Machine (LightGBM) algorithm for accurate prediction. Data preprocessing techniques such as handling missing values, normalization, and feature selection are applied to improve model performance. LIME and SHAP are integrated to provide both local and global explanations for predictions, highlighting how clinical factors such as glucose level, body mass index, age, and insulin influence outcomes. The system is implemented as a full-stack web application with a FastAPI backend and a Reactbased frontend to provide an interactive dashboard for healthcare professionals. Experimental results demonstrate that the model achieves high predictive performance while maintaining interpretability. The comparative analysis shows that SHAP provides more consistent global explanations, while LIME offers intuitive local explanations for individual predictions.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 14%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.