PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 21, 2026SHILAP Revista de lepidopterología1 citationsOpen Access

Development and validation of an interpretable machine learning model for predicting in-hospital hypoglycemia in adults with type 1 diabetes mellitus: a multicenter retrospective study

QZQ X ZhangSSS. SaadHZHaojie Zhou

Key Points

  • The aim is to develop and validate a machine learning model to predict in-hospital hypoglycemia risks in adults with type 1 diabetes.
  • Conducted a multicenter retrospective cohort study across five hospitals in China.
  • Developed a predictive model using patient data split into development and validation sets.
  • Evaluated model performance for discrimination, calibration, and interpretability.
  • 580 out of 1,498 patients experienced in-hospital hypoglycemia, translating to 38.7%.
  • The random forest model achieved an AUC of 0.831 with a sensitivity of 0.793 and a specificity of 0.748.
  • Key predictors included hemoglobin, potassium, sodium, and age, with certain biomarkers showing U-shaped risk associations.

Abstract

Background In-hospital hypoglycemia remains a serious and potentially life-threatening complication among adults with type 1 diabetes mellitus (T1DM), yet reliable and interpretable prediction tools for Chinese inpatients are lacking. We aimed to develop and validate an interpretable machine learning model using multicenter inpatient data to predict the risk of in-hospital hypoglycemia in adults with T1DM, and to enhance clinical understanding of key predictors. Methods This multicenter retrospective cohort study enrolled adult inpatients with T1DM from five tertiary Grade A hospitals in China between January 1, 2019 and September 30, 2025. From the same multicenter cohort, the total dataset was randomly split 7:3 into a development set ( n = 1,048) and an independent external validation set ( n = 450). Within the development set, we performed 5-fold stratified cross-validation for hyperparameter tuning, and both internal cross-validation and external validation remained fully independent throughout model development. Machine learning models were trained to predict in-hospital hypoglycemia and evaluated for discrimination, calibration, clinical utility, and interpretability. Results The study enrolled 1,498 patients, of whom 580 (38.7%) experienced in-hospital hypoglycemia. The random forest model demonstrated superior predictive performance in the external validation cohort, achieving an AUC of 0.831 ( 95% CI : 0.798-0.873), sensitivity of 0.793, specificity of 0.748, and a Brier score of 0.149. Hemoglobin, potassium, sodium, low-density lipoprotein cholesterol, and age at onset were identified as the top predictors. Hemoglobin, potassium, sodium, and BMI exhibited U-shaped associations with hypoglycemia risk, where both low and high values increased risk. Exploratory analysis of joint biomarker status showed that patients with abnormalities in two or more of these core predictors had a non-significant trend toward higher event rates, while the complexity of their combined effects was better captured by the non-linear model. The model enabled effective risk stratification into four quartiles, and decision curve analysis confirmed its consistent net clinical benefit across relevant probability thresholds. Conclusions The interpretable random forest model using routine inpatient data showed strong discrimination, good calibration and useful risk stratification for in-hospital hypoglycemia in Chinese adults with T1DM, which may help identify high-risk patients early and guide targeted preventive interventions in clinical practice.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhang et al. (2026) studied this question.

synapsesocial.com/papers/69e7132bcb99343efc98ce89https://doi.org/10.3389/fendo.2026.1816599
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Development and Validation of a NEWS2-Enhanced Multivariable Prediction Model for Clinical Deterioration and In-Hospital Mortality in Hospitalized Adults2025 · 1 citations
  2. 2Hypoglycaemia assessment tool (HAT) study: subanalysis of the Lebanese cohort2020 · 5 citations
  3. 3Clinical characteristics and outcomes of symptomatic and asymptomatic hypoglycemia in hospitalized patients with diabetes2018 · 38 citations
  4. 4Incidence of type 1 diabetes in China, 2010-13: population based study2018 · 328 citations
  5. 5Frequency, Immunogenetics, and Clinical Characteristics of Latent Autoimmune Diabetes in China (LADA China Study)2012 · 252 citations