Explainable machine learning model for in-hospital hypoglycemia risk in patients with latent autoimmune diabetes in adults.
Qiang Zhang, Xinyi Liu, Yiting Ni, Haojie Zhou, Guniqing Zhu, Ying Wang, Ran Li, Yuan Zhao,
School of Nursing, Dali University, Yunnan, China. · Department of Pharmacy, Nanjing First Hospital, Nanjing Medical University, Jiangsu, China.
Key points
From the paper's conclusion- The interpretable XGBoost model showed acceptable discrimination, calibration, and potential clinical utility for in-hospital hypoglycemia risk stratification in patients with LADA. This pragmatic predictive tool has the potential to support individualized inpatient glycemic management and facilitate targeted clinical intervention for LADA populations.
Abstract
BACKGROUND: Latent autoimmune diabetes in adults (LADA) is characterized by progressive β-cell impairment and severe glycemic lability, predisposing patients to in-hospital hypoglycemia. Few tailored risk-stratification models exist for this population. This study aimed to develop and validate an interpretable machine learning model using routine clinical data to predict in-hospital hypoglycemia in LADA inpatients. METHODS: This multicenter retrospective study recruited participants from five Chinese tertiary hospitals between January 2019 and September 2025. Data from four centers formed the derivation cohort, and the remaining center served as the independent external validation cohort. The primary endpoint was in-hospital hypoglycemia (blood glucose < 3.9 mmol/L). Three machine learning models, including logistic regression, random forest, and XGBoost, were developed using routine clinical data and assessed for discrimination, calibration, and clinical utility. SHAP analysis was applied to improve model interpretability. Exploratory subgroup analyses in the internal validation cohort examined model performance across clinical subgroups. RESULTS: A total of 752 LADA inpatients were enrolled. The incidence of in-hospital hypoglycemia was 44.8% in the derivation cohort and 54.4% in the external validation cohort. Six core predictive factors were identified: largest amplitude of glycemic excursion, fasting C-peptide, glycated hemoglobin, sex, insulin pump use, and previous hypoglycemia. The three models yielded numerically variable discriminative performance across cohorts. Pairwise DeLong tests indicated no statistically significant differences in the AUROC among the three algorithms during external validation. All models showed comparable calibration and threshold-dependent predictive performance in the external cohort. XGBoost was selected as the final model after comprehensive evaluation. Fasting C-peptide was identified as the most influential predictor. Exploratory subgroup analyses demonstrated generally stable model performance across clinical strata. These findings are limited by small subgroup sample sizes and wide confidence intervals, and thus cannot be generalized to external populations. Sensitivity analysis suggested that model performance was not predominantly dependent on the retained glucose-derived predictor. CONCLUSIONS: The interpretable XGBoost model showed acceptable discrimination, calibration, and potential clinical utility for in-hospital hypoglycemia risk stratification in patients with LADA. This pragmatic predictive tool has the potential to support individualized inpatient glycemic management and facilitate targeted clinical intervention for LADA populations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Construction and validation of a hypoglycemia risk prediction model for hospitalized type 2 diabetes patients based on machine learningBMC Endocrine Disorders · 2025
- Performance of machine learning-based prediction models for hypoglycemia in Chinese patients with diabetes: A systematic review and meta-analysis.PloS one · 2026
- Interpretable Machine Learning for In-Hospital Mortality Prediction in Patients With Diabetes and ARDS: Development and External Validation.Shock (Augusta, Ga.) · 2026
- Development and validation of a hypoglycemia risk prediction model for hospitalized type 2 diabetes patients following laparoscopic colorectal cancer resection: a retrospective cohort study.Frontiers in endocrinology · 2026
- Development and external validation of an explainable machine learning model for in-hospital mortality risk stratification in intensive care unit patients with heart failure.Frontiers in cardiovascular medicine · 2026
- Exploring Predictive Modeling Algorithms for Good Glycemic Control in Patients With Type 2 Diabetes Mellitus: A Secondary Analysis of a Cluster Randomized Trial Cohort Further Explored by Sex.Health science reports · 2026