A machine-learning approach to predict postprandial hypoglycemia

BMC Med Inform Decis Mak. 2019 Nov 6;19(1):210. doi: 10.1186/s12911-019-0943-4.

Abstract

Background: For an effective artificial pancreas (AP) system and an improved therapeutic intervention with continuous glucose monitoring (CGM), predicting the occurrence of hypoglycemia accurately is very important. While there have been many studies reporting successful algorithms for predicting nocturnal hypoglycemia, predicting postprandial hypoglycemia still remains a challenge due to extreme glucose fluctuations that occur around mealtimes. The goal of this study is to evaluate the feasibility of easy-to-use, computationally efficient machine-learning algorithm to predict postprandial hypoglycemia with a unique feature set.

Methods: We use retrospective CGM datasets of 104 people who had experienced at least one hypoglycemia alert value during a three-day CGM session. The algorithms were developed based on four machine learning models with a unique data-driven feature set: a random forest (RF), a support vector machine using a linear function or a radial basis function, a K-nearest neighbor, and a logistic regression. With 5-fold cross-subject validation, the average performance of each model was calculated to compare and contrast their individual performance. The area under a receiver operating characteristic curve (AUC) and the F1 score were used as the main criterion for evaluating the performance.

Results: In predicting a hypoglycemia alert value with a 30-min prediction horizon, the RF model showed the best performance with the average AUC of 0.966, the average sensitivity of 89.6%, the average specificity of 91.3%, and the average F1 score of 0.543. In addition, the RF showed the better predictive performance for postprandial hypoglycemic events than other models.

Conclusion: In conclusion, we showed that machine-learning algorithms have potential in predicting postprandial hypoglycemia, and the RF model could be a better candidate for the further development of postprandial hypoglycemia prediction algorithm to advance the CGM technology and the AP technology further.

Keywords: Diabetes; Hypoglycemia; Machine-learning approach; Risk prediction.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Adult
  • Algorithms
  • Blood Glucose
  • Blood Glucose Self-Monitoring
  • Humans
  • Hypoglycemia / diagnosis*
  • Hypoglycemia / etiology*
  • Hypoglycemic Agents / therapeutic use
  • Logistic Models
  • Machine Learning*
  • Retrospective Studies
  • Sensitivity and Specificity
  • Support Vector Machine

Substances

  • Blood Glucose
  • Hypoglycemic Agents