PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 18, 2025Frontiers in Endocrinology9 citationsOpen Access

Machine learning-based prediction of hypoglycemia severity in hospitalized diabetic patients

View Full Paper
HJHongjian JiaJZJietao Zhang

Key Points

  • The Random Forest model achieved 93.3% predictive accuracy in assessing hypoglycemia severity.
  • Among models, the area under the ROC curve for Random Forest was 0.960, indicating high discriminative performance.
  • Glycemic control metrics and glucose variability were key predictors identified by both XGBoost and Random Forest models.
  • Monitoring glucose levels is crucial for diabetes management to prevent hypoglycemia in hospitalized T2DM patients.

Abstract

Objective To identify risk factors for hypoglycemia in hospitalized patients with type 2 diabetes mellitus (T2DM) and develop predictive models for hypoglycemia severity based on machine learning algorithms. Methods Adult non-pregnant hospitalized patients diagnosed with T2DM were retrospectively enrolled from the electronic medical record system of the Affiliated Hospital of Qingdao University. Patients were categorized into hypoglycemia groups (mild, moderate-to-severe) or a non-hypoglycemia group based on inpatient venous plasma glucose levels. After data preprocessing, univariate and multivariate analyses were conducted to identify significant predictors. Three predictive models (XGBoost, Random Forest RF, and Logistic Regression) were subsequently constructed and validated to evaluate their predictive performances. Results From an initial cohort of 8,947 patients, 1,798 patients were included after data screening. Among the evaluated models, the RF model demonstrated the highest predictive accuracy (93.3%) and Kappa coefficient (0.873), followed by XGBoost (accuracy: 92.6%, Kappa: 0.860). Logistic regression exhibited comparatively lower performance (accuracy: 83.8%, Kappa: 0.685). The macro-average area under the ROC curve (AUC) values for RF, XGBoost, and logistic regression were 0.960, 0.955, and 0.788, respectively, highlighting the superior discriminative capability of the RF model. While both XGBoost and RF models identified glycemic control metrics and glucose variability as core predictors for hypoglycemia, the RF model additionally emphasized medication usage, whereas XGBoost prioritized basal metabolic parameters. Conclusions The RF model outperformed XGBoost and conventional logistic regression in predicting hypoglycemia severity among hospitalized T2DM patients. The results emphasize the importance of closely monitoring glucose levels and glucose variability during diabetes management to prevent hypoglycemia. The developed model provides a foundation for implementing preventive strategies to reduce hypoglycemia occurrence in hospitalized patients with T2DM.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Jia et al. (2025) studied this question.

synapsesocial.com/papers/68d462db31b076d99fa62806https://doi.org/10.3389/fendo.2025.1634358
Ask AI
Helpful
Bookmark
Share
View Full Paper