Interpretable diabetes risk prediction: a comparative study of tree-based algorithms using SHAP and LIME

The global burden of diabetes mellitus continues to increase, particularly in low- and middle-income countries. Prior studies have explored the use of machine learning algorithms to predict the risk of this disease; however, evidence from Latin American populations remains limited. This study aims to predict the risk of diabetes mellitus using data from Ecuador and tree-based algorithms, including Gradient Boosting, Extreme Gradient Boosting, Light Gradient Boosting Machine, and CatBoost. The dataset comprises sociodemographic variables, anthropometric measurements, dietary and physical activity habits, clinical indicators, and family history of diabetes, among others. Extreme Gradient Boosting demonstrated the best balance between training and testing performance, achieving an area under the curve (AUC) of 0.99 and 0.96, respectively. Additionally, explainable artificial intelligence techniques, specifically SHAP and LIME, were applied to assess the contribution of variables to the prediction task. The results indicate that elevated blood glucose levels, family history of diabetes, abdominal circumference, age, visceral fat, low physical activity, waist-to-hip ratio, and muscle mass index are key factors contributing to diabetes risk prediction. These findings highlight the potential of interpretable machine learning models for early detection of diabetes in low- and middle-income contexts, including Ecuador.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-07-17
DOI
https://doi.org/10.1038/s41598-026-62441-2
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

Interpretable diabetes risk prediction: a comparative study of tree-based algorithms using SHAP and LIME

Estefanía Bautista-Valarezo, Ruth Reátegui, Lourdes Ramírez-Cerna
Scientific Reports
Artificial Intelligence in Healthcare
article

Interpretable diabetes risk prediction: a comparative study of tree-based algorithms using SHAP and LIME

Estefanía Bautista-Valarezo, Ruth Reátegui, Lourdes Ramírez-Cerna
article en

Abstract

The global burden of diabetes mellitus continues to increase, particularly in low- and middle-income countries. Prior studies have explored the use of machine learning algorithms to predict the risk of this disease; however, evidence from Latin American populations remains limited. This study aims to predict the risk of diabetes mellitus using data from Ecuador and tree-based algorithms, including Gradient Boosting, Extreme Gradient Boosting, Light Gradient Boosting Machine, and CatBoost. The dataset comprises sociodemographic variables, anthropometric measurements, dietary and physical activity habits, clinical indicators, and family history of diabetes, among others. Extreme Gradient Boosting demonstrated the best balance between training and testing performance, achieving an area under the curve (AUC) of 0.99 and 0.96, respectively. Additionally, explainable artificial intelligence techniques, specifically SHAP and LIME, were applied to assess the contribution of variables to the prediction task. The results indicate that elevated blood glucose levels, family history of diabetes, abdominal circumference, age, visceral fat, low physical activity, waist-to-hip ratio, and muscle mass index are key factors contributing to diabetes risk prediction. These findings highlight the potential of interpretable machine learning models for early detection of diabetes in low- and middle-income contexts, including Ecuador.

Scientific Reports
Universidad Técnica Particular de Loja (EC), Universidad de Lima (PE), National University of Engineering (PE)
No poverty
Openalex Percentile: Top 3%
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.

Interpretable diabetes risk prediction: a comparative study of tree-based algorithms using SHAP and LIME — Estefanía Bautista-Valarezo, Ruth Reátegui, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS