PofoliaShared via Pofolia

BMC Public Health· 2025Q1

Leveraging XGBoost and explainable AI for accurate prediction of type 2 diabetes

Zahra Rafie, Moslem Sedaghat Talab, Behrooz Ebrahim Zadeh Koor, Ali Garavand et al.

Short summary

XGBoost achieved 96.07% accuracy and 99.29% AUC for type 2 diabetes prediction in an Iranian cohort, with SHAP identifying fasting blood sugar, fatty liver, and energy drink consumption as key predictors.

AI-generated from the title and abstract; the full text is not read.

Key points

  • XGBoost model achieved 96.07% accuracy and 99.29% AUC for type 2 diabetes prediction.
  • SMOTE balancing and hyperparameter tuning improved model performance.
  • Key predictors included fasting blood sugar, fatty liver, urolithiasis, RBC indices, energy drink consumption, and TV viewing.
  • SHAP visualizations provided global and case-specific interpretability of risk factors.

AI-generated from the title and abstract; the full text is not read.

Abstract

INTRODUCTION: Type 2 diabetes mellitus (T2DM) poses a major public health challenge, particularly in regions with limited representation in predictive modeling studies. This research aimed to develop and interpret robust machine learning (ML) models for early T2DM risk prediction using data from the Dena Cohort in Iran. METHODS: Data from 3,203 adults aged 35–70 years were preprocessed through outlier removal, median/mode imputation, feature selection via LightGBM, and class balancing with the Synthetic Minority Over‑sampling Technique (SMOTE). Two gradient‑boosting algorithms, XGBoost and CatBoost, underwent hyperparameter tuning and 10‑fold cross‑validation. Model performance was assessed using accuracy, F1‑score, and the area under the receiver operating characteristic curve (AUC). Shapley Additive Explanations (SHAP) provided global and case‑specific interpretability of predictive features. RESULTS: XGBoost achieved the highest performance (accuracy = 96.07%, AUC = 99.29%), outperforming CatBoost and demonstrating substantial improvement with SMOTE balancing. Key predictors included fasting blood sugar, fatty liver, urolithiasis, red blood cell indices, and lifestyle factors such as energy drink consumption and prolonged television viewing. SHAP visualizations enhanced model transparency and facilitated individualized risk interpretation. CONCLUSION: This study demonstrates that combining advanced gradient‑boosting models with SHAP explainability yields highly accurate, interpretable T2DM risk prediction in an underrepresented population. These findings support integrating interpretable ML into clinical workflows for personalized prevention and early intervention strategies.

The authors' abstract, as published at the source. BMC Public Health, 2025 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Health Information Management

Health Information ManagementHealth Professions