Related Experiment Video
Updated: Sep 8, 2025

Improving IV Insulin Administration in a Community Hospital
Published on: June 11, 2012
Explainable Machine Learning for Real-Time Hypoglycemia and Hyperglycemia Prediction and Personalized Control
Christopher Duckworth1, Matthew J Guy2,3, Anitha Kumaran4
1Electronics and Computer Science, IT Innovation Centre, University of Southampton, Southampton, UK.
Background:
The occurrences of acute complications arising from hypoglycemia and hyperglycemia peak as young adults with type 1 diabetes (T1D) take control of their own care. Continuous glucose monitoring (CGM) devices provide real-time glucose readings enabling users to manage their control proactively. Machine learning algorithms can use CGM data to make ahead-of-time risk predictions and provide insight into an individual's longer term control.
Methods:
We introduce explainable machine learning to make predictions of hypoglycemia (<70 mg/dL) and hyperglycemia (>270 mg/dL) up to 60 minutes ahead of time. We train our models using CGM data from 153 people living with T1D in the CITY (CGM Intervention in Teens and Young Adults With Type 1 Diabetes)survey totaling more than 28 000 days of usage, which we summarize into (short-term, medium-term, and long-term) glucose control features along with demographic information. We use machine learning explanations (SHAP [SHapley Additive exPlanations]) to identify which features have been most important in predicting risk per user.
Results:
Machine learning models (XGBoost) show excellent performance at predicting hypoglycemia (area under the receiver operating curve [AUROC]: 0.998, average precision: 0.953) and hyperglycemia (AUROC: 0.989, average precision: 0.931) in comparison with a baseline heuristic and logistic regression model.
Conclusions:
Maximizing model performance for glucose risk prediction and management is crucial to reduce the burden of alarm fatigue on CGM users. Machine learning enables more precise and timely predictions in comparison with baseline models. SHAP helps identify what about a CGM user's glucose control has led to predictions of risk which can be used to reduce their long-term risk of complications.
More Related Videos
08:01A Method for Manipulating Blood Glucose and Measuring Resulting Changes in Cognitive Accessibility of Target Stimuli
Published on: August 12, 2016
07:35Author Spotlight: Investigating the Blood Glucose Homeostasis in Murine Brain Using a Cost-Effective Hyperglycemic And Hypoglycemic Clamp Technique
Published on: January 26, 2024
Related Concept Videos
Hypoglycemia and Glucagon
Diabetes: Management and Pharmacotherapy
Insulin remains the cornerstone of treatment for most patients with type 1 and many...
Diabetes Mellitus: Type 2 and Gestational
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...
Hormones Regulating Blood Glucose
In addition to accelerating glucose uptake and utilization, insulin has...
Glucose Homeostasis: Regulation of Blood Glucose
During fasting, when blood glucose levels are low, the pancreas secretes glucagon. it...