An Explainable Random Forest Model for Early Diabetes Prediction Using LIME Interpretability Technique

This study aims to improve diabetes prediction by integrating Random Forest classifiers with Explainable AI (XAI) methods such as LIME to enhance model interpretability and clinical trust.Using the "diabetes.csv"dataset from Kaggle (768 records with nine clinical features), the research addresses challenges posed by its imbalanced distribution of 500 nondiabetic and 268 diabetic cases.Baseline evaluations showed accuracies of 70% for SVM and 72.07%for Random Forest, with similar precision, recall, F1-scores, and ROC AUC values around 0.81.Applying Random Search for hyperparameter tuning improved Random Forest performance to 75% accuracy, 64% precision, 69% recall, 67% F1-score, and 0.83 ROC AUC.To assess robustness and generalization, a Text-Guided Synthetic Dataset (synthetic_diabetes_data.csv, 35 KB) was generated using ChatGPT, containing 1000 instances (450 nondiabetes, 550 diabetes) with real, integer, and categorical features based on prompt design.Testing on this balanced, diverse dataset yielded higher performance: 93.5% accuracy, 92% precision, 94% recall, 93% F1-score, and 0.95 ROC AUC.LIME explanations provided clear, case-specific insights, aiding clinician understanding and supporting trustworthy decision-making.Human-centered evaluations rated these explanations highly for plausibility, clarity, and clinical usefulness.Despite challenges from data imbalance in realworld settings, the study demonstrates that combining machine learning with explainable AI offers an effective, transparent approach for early diabetes prediction, while highlighting the need for high-quality, diverse datasets to ensure reliable deployment in clinical practice.

Authors

Institutions

Publication Details

Journal
International Journal of Computer Applications
Published
2025-08-20
DOI
https://doi.org/10.5120/ijca2025925542
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

An Explainable Random Forest Model for Early Diabetes Prediction Using LIME Interpretability Technique

Adetokunbo MacGregor John-Otumu, Emmanuel Osaze Oshoiribhor
International Journal of Computer Applications
Artificial Intelligence in Healthcare
article

An Explainable Random Forest Model for Early Diabetes Prediction Using LIME Interpretability Technique

Adetokunbo MacGregor John-Otumu, Emmanuel Osaze Oshoiribhor
article en

Abstract

This study aims to improve diabetes prediction by integrating Random Forest classifiers with Explainable AI (XAI) methods such as LIME to enhance model interpretability and clinical trust.Using the "diabetes.csv"dataset from Kaggle (768 records with nine clinical features), the research addresses challenges posed by its imbalanced distribution of 500 nondiabetic and 268 diabetic cases.Baseline evaluations showed accuracies of 70% for SVM and 72.07%for Random Forest, with similar precision, recall, F1-scores, and ROC AUC values around 0.81.Applying Random Search for hyperparameter tuning improved Random Forest performance to 75% accuracy, 64% precision, 69% recall, 67% F1-score, and 0.83 ROC AUC.To assess robustness and generalization, a Text-Guided Synthetic Dataset (synthetic_diabetes_data.csv, 35 KB) was generated using ChatGPT, containing 1000 instances (450 nondiabetes, 550 diabetes) with real, integer, and categorical features based on prompt design.Testing on this balanced, diverse dataset yielded higher performance: 93.5% accuracy, 92% precision, 94% recall, 93% F1-score, and 0.95 ROC AUC.LIME explanations provided clear, case-specific insights, aiding clinician understanding and supporting trustworthy decision-making.Human-centered evaluations rated these explanations highly for plausibility, clarity, and clinical usefulness.Despite challenges from data imbalance in realworld settings, the study demonstrates that combining machine learning with explainable AI offers an effective, transparent approach for early diabetes prediction, while highlighting the need for high-quality, diverse datasets to ensure reliable deployment in clinical practice.

International Journal of Computer ApplicationsVol. 187(31)
Federal University of Technology Owerri (NG), Ambrose Alli University (NG)
Zero hunger
Openalex Percentile: Top 75%
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.

An Explainable Random Forest Model for Early Diabetes Prediction Using LIME Interpretability Technique — Adetokunbo MacGregor John-Otumu, Emmanuel Osaze Oshoiribhor · International Journal of Computer Applications (2025) | TGRS Research Map | TGRS