Related Experiment Video
Updated: Jan 24, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Machine learning-based online prediction of nocturnal hypoglycemia in elderly patients with type 2 diabetes
Yuntong Liu1,2, Chenhua Guo3, Xinyu Li1
1Department of Endocrinology, Central Hospital of Dalian University of Technology, Dalian, China.
Context:
Nocturnal hypoglycemia (NH) is a common adverse event in elderly patients with type 2 diabetes (T2D). This study aims to develop a clinically applicable model for predicting the risk of NH in elderly patients with T2D.
Methods:
This retrospective cohort study, conducted from May 2018 to June 2024, analyzed 1,128 elderly T2D patients undergoing continuous glucose monitoring, with an independent validation involving 100 outpatients. Clinical characteristics were collected, and feature engineering was performed to select a manageable set of clinically accessible features. An ensemble model was developed using multiple base models and a stacking approach. The best-performing model was deployed as an online risk calculator.
Results:
Of the development set, 288 (25.5%) experienced NH, while 40 (40%) of the independent validation cohort experienced NH. The final ensemble model, "RF-ET-KNN", combined random forest, Extra Trees, and K-nearest neighbor as base learners, with Extra Trees serving as the meta-learner. It incorporated eleven clinical features and achieved an AUROC of 0.926 and sensitivity of 0.853 on the test set, and an AUROC of 0.947 and sensitivity of 0.929 on the internal validation set. SHAP analysis identified that daytime lowest blood glucose (BG), fasting blood glucose (FBG), and daytime hypoglycemia events were closely related to NH. A user-friendly calculator is available at http://122.51.219.102:8000/.
Conclusion:
The "RF-ET-KNN" model, integrating eleven clinically accessible features, effectively predicts NH in elderly T2D patients. Daytime lowest BG, FBG, and daytime hypoglycemia events were significant risk factors.
More Related Videos
07:13Comparison of Predictive Performance of Three Lymph Node Staging Systems in Colorectal Signet Ring Cell Carcinoma Based on Machine Learning Model
Published on: April 18, 2025
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Diabetes Mellitus: Type 2 and Gestational
Predicting Products: SN1 vs. SN2
With increased substitution on the alkyl halide,...
Hypoglycemia and Glucagon
Diabetes Mellitus: Overview and Type I Subtype
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
Predicting Molecular Geometry
Machines
A free-body diagram of the...