1
|
Lebech Cichosz S, Bender C. Development of Machine Learning Models for the Identification of Elevated Ketone Bodies During Hyperglycemia in Patients with Type 1 Diabetes. Diabetes Technol Ther 2024; 26:403-410. [PMID: 38456910 DOI: 10.1089/dia.2023.0531] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 03/09/2024]
Abstract
Aims: Diabetic ketoacidosis (DKA) is a serious life-threatening condition caused by a lack of insulin, which leads to elevated plasma glucose and metabolic acidosis. Early identification of developing DKA is important to start treatment and minimize complications and risk of death. The aim of the present study is to develop and test prediction model(s) that gives an alarm about their risk of developing elevated ketone bodies during hyperglycemia. Methods: We analyzed data from 138 type 1 diabetes patients with measurements of ketone bodies and continuous glucose monitoring (CGM) data from over 30,000 days of wear time. We utilized a supervised binary classification machine learning approach to identify elevated levels of ketone bodies (≥0.6 mmol/L). Data material was randomly divided at patient level in 70%/30% (training/test) dataset. Logistic regression (LR) and random forest (RF) classifier were compared. Results: Among included patients, 913 ketone samples were eligible for modeling, including 273 event samples with ketone levels ≥0.6 mmol/L. An area under the receiver operating characteristic curve from the RF classifier was 0.836 (confidence interval [CI] 90%, 0.783-0.886) and 0.710 (CI 90%, 0.646-0.77) for the LR classifier. Conclusions: The novel approach for identifying elevated ketone levels in patients with type 1 diabetes utilized in this study indicates that CGM could be a valuable resource for the early prediction of patients at risk of developing DKA. Future studies are needed to validate the results.
Collapse
Affiliation(s)
- Simon Lebech Cichosz
- Department of Health Science and Technology, Aalborg University, Aalborg, Denmark
| | - Clara Bender
- Department of Health Science and Technology, Aalborg University, Aalborg, Denmark
| |
Collapse
|
2
|
Lebech Cichosz S, Hasselstrøm Jensen M, Schou Olesen S. Development and Validation of a Machine Learning Model to Predict Weekly Risk of Hypoglycemia in Patients with Type 1 Diabetes Based on Continuous Glucose Monitoring. Diabetes Technol Ther 2024. [PMID: 38215207 DOI: 10.1089/dia.2023.0532] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 01/14/2024]
Abstract
Aim: The aim of this study was to develop and validate a prediction model based on continuous glucose monitoring (CGM) data to identify a week-to-week risk profile of excessive hypoglycemia. Methods: We analyzed, trained, and internally tested two prediction models using CGM data from 205 type 1 diabetes patients with long-term CGM monitoring. A binary classification approach (XGBoost) combined with feature engineering deployed on the CGM signals was utilized to predict excessive hypoglycemia risk defined by two targets (time below range [TBR] >4% and the upper TBR 90th percentile limit) of TBR the following week. The models were validated in two independent cohorts with a total of 253 additional patients. Results: A total of 61,470 weeks of CGM data were included in the analysis. The XGBoost models had an area under the receiver operating characteristic curve (ROC-AUC) of 0.83-0.87 (95% confidence interval; 0.83-0.88) in the test dataset. The external validation showed ROC-AUCs of 0.81-0.90. The most discriminative features included the low blood glucose index, the glycemic risk assessment diabetes equation (GRADE), hypoglycemia, the TBR, waveform length, the coefficient of variation and mean glucose during the previous week. This highlights that the pattern of hypoglycemia combined with glucose variability during the past week contains information on the risk of future hypoglycemia. Conclusion: Prediction models based on real-world CGM data can be used to predict the risk of hypoglycemia in the forthcoming week. The models showed good performance in both the internal and external validation cohorts.
Collapse
Affiliation(s)
- Simon Lebech Cichosz
- Department of Health Science and Technology, Aalborg University, Aalborg, Denmark
| | | | - Søren Schou Olesen
- Department of Clinical Medicine, Aalborg University Hospital, Aalborg, Denmark
- Department of Gastroenterology and Hepatology, Centre for Pancreatic Diseases and Mech-Sense, Aalborg University Hospital, Aalborg, Denmark
| |
Collapse
|
3
|
Annuzzi G, Apicella A, Arpaia P, Bozzetto L, Criscuolo S, De Benedetto E, Pesola M, Prevete R. Exploring Nutritional Influence on Blood Glucose Forecasting for Type 1 Diabetes Using Explainable AI. IEEE J Biomed Health Inform 2024; 28:3123-3133. [PMID: 38157465 DOI: 10.1109/jbhi.2023.3348334] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 01/03/2024]
Abstract
Type 1 diabetes mellitus (T1DM) is characterized by insulin deficiency and blood sugar control issues. The state-of-the-art solution is the artificial pancreas (AP), which integrates basal insulin delivery and glucose monitoring. However, APs are unable to manage postprandial glucose response (PGR) due to limited knowledge of its determinants, requiring additional information for accurate bolus delivery, such as estimated carbohydrate intake. This study aims to quantify the influence of various meal-related factors on predicting postprandial blood glucose levels (BGLs) at different time intervals (15 min, 60 min, and 120 min) after meals by using deep neural network (DNN) models. The prediction models incorporate preprandial blood glucose values, insulin dosage, and various meal-related nutritional factors such as intake of energy, carbohydrates, proteins, lipids, fatty acids, fibers, glycemic index, and glycemic load as input variables. The impact of input features was assessed by exploiting eXplainable Artificial Intelligence (XAI) methodologies, specifically SHapley Additive exPlanations (SHAP), which provide insights into each feature's contribution to the model predictions. By leveraging XAI methodologies, this study aims to enhance the interpretability and transparency of BGL prediction models and validate clinical literature hypotheses. The findings can aid in the development of decision-support tools for individuals with T1DM, facilitating PGR management and reducing the risks of adverse events. The improved understanding of PGR determinants may lead to advancements in AP technology and improve the overall quality of life for T1DM patients.
Collapse
|
4
|
Ahmed BM, Ali ME, Masud MM, Azad MR, Naznin M. After-meal blood glucose level prediction for type-2 diabetic patients. Heliyon 2024; 10:e28855. [PMID: 38617952 PMCID: PMC11015419 DOI: 10.1016/j.heliyon.2024.e28855] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 10/11/2023] [Revised: 03/16/2024] [Accepted: 03/26/2024] [Indexed: 04/16/2024] Open
Abstract
Type 2 Diabetes, a metabolic disorder disease, is becoming a fast growing health crisis worldwide. It reduces the quality of life, and increases mortality and health care costs unless managed well. After-meal blood glucose level measure is considered as one of the most fundamental and well-recognized steps in managing Type 2 diabetes as it guides a user to make better plans of their diet and thus control the diabetes well. In this paper, we propose a data-driven approach to predict the 2 h after meal blood glucose level from the previous discrete blood glucose readings, meal, exercise, medication, & profile information of Type 2 diabetes patients. To the best of our knowledge, this is the first attempt to use discrete blood glucose readings for 2 h after meal blood glucose level prediction using data-driven models. In this study, we have collected data from five prediabetic and diabetic patients in free living conditions for six months. We have presented comparative experimental study using different popular machine learning models including support vector regression, random forest, and extreme gradient boosting, and two deep layer techniques: multilayer perceptron, and convolutional neural network. We present also the impact of different features in blood glucose level prediction, where we observe that meal has some modest and medication has a good influence on blood glucose level.
Collapse
Affiliation(s)
- Benzir Md Ahmed
- Department of Computer Science and Engineering, Bangladesh University of Engineering and Technology, Dhaka, 1000, Bangladesh
- Department of Computer Science and Engineering, United International University, Dhaka, 1212, Bangladesh
| | - Mohammed Eunus Ali
- Department of Computer Science and Engineering, Bangladesh University of Engineering and Technology, Dhaka, 1000, Bangladesh
| | | | | | - Mahmuda Naznin
- Department of Computer Science and Engineering, Bangladesh University of Engineering and Technology, Dhaka, 1000, Bangladesh
| |
Collapse
|
5
|
Dave D, Vyas K, Branan K, McKay S, DeSalvo DJ, Gutierrez-Osuna R, Cote GL, Erraguntla M. Detection of Hypoglycemia and Hyperglycemia Using Noninvasive Wearable Sensors: Electrocardiograms and Accelerometry. J Diabetes Sci Technol 2024; 18:351-362. [PMID: 35927975 PMCID: PMC10973850 DOI: 10.1177/19322968221116393] [Citation(s) in RCA: 1] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 11/15/2022]
Abstract
BACKGROUND Monitoring glucose excursions is important in diabetes management. This can be achieved using continuous glucose monitors (CGMs). However, CGMs are expensive and invasive. Thus, alternative low-cost noninvasive wearable sensors capable of predicting glycemic excursions could be a game changer to manage diabetes. METHODS In this article, we explore two noninvasive sensor modalities, electrocardiograms (ECGs) and accelerometers, collected on five healthy participants over two weeks, to predict both hypoglycemic and hyperglycemic excursions. We extract 29 features encompassing heart rate variability features from the ECG, and time- and frequency-domain features from the accelerometer. We evaluated two machine learning approaches to predict glycemic excursions: a classification model and a regression model. RESULTS The best model for both hypoglycemia and hyperglycemia detection was the regression model based on ECG and accelerometer data, yielding 76% sensitivity and specificity for hypoglycemia and 79% sensitivity and specificity for hyperglycemia. This had an improvement of 5% in sensitivity and specificity for both hypoglycemia and hyperglycemia when compared with using ECG data alone. CONCLUSIONS Electrocardiogram is a promising alternative not only to detect hypoglycemia but also to predict hyperglycemia. Supplementing ECG data with contextual information from accelerometer data can improve glucose prediction.
Collapse
Affiliation(s)
- Darpit Dave
- Wm Michael Barnes '64 Department of Industrial and Systems Engineering, Texas A&M University, College Station, TX, USA
| | - Kathan Vyas
- Department of Computer Science and Engineering, Texas A&M University, College Station, TX, USA
| | - Kimberly Branan
- Department of Biomedical Engineering, Texas A&M University, College Station, TX, USA
| | - Siripoom McKay
- Baylor College of Medicine, Houston, TX, USA
- Texas Children’s Hospital Clinical Care Center, Houston, TX, USA
| | - Daniel J. DeSalvo
- Baylor College of Medicine, Houston, TX, USA
- Texas Children’s Hospital Clinical Care Center, Houston, TX, USA
| | - Ricardo Gutierrez-Osuna
- Department of Computer Science and Engineering, Texas A&M University, College Station, TX, USA
| | - Gerard L. Cote
- Department of Biomedical Engineering, Texas A&M University, College Station, TX, USA
| | - Madhav Erraguntla
- Wm Michael Barnes '64 Department of Industrial and Systems Engineering, Texas A&M University, College Station, TX, USA
| |
Collapse
|
6
|
Cichosz SL, Hejlesen O, Jensen MH. Identification of individuals with diabetes who are eligible for continuous glucose monitoring forecasting. Diabetes Metab Syndr 2024; 18:102972. [PMID: 38422777 DOI: 10.1016/j.dsx.2024.102972] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 09/19/2022] [Revised: 02/20/2024] [Accepted: 02/24/2024] [Indexed: 03/02/2024]
Abstract
BACKGROUND AND OBJECTIVES Predicting glucose levels in individuals with diabetes offers potential improvements in glucose control. However, not all patients exhibit predictable glucose dynamics, which may lead to ineffective treatment strategies. We sought to investigate the efficacy of a 7-day blinded screening test in identifying diabetes patients suitable for glucose forecasting. METHODS Participants with type 1 diabetes (T1D) were stratified into high and low initial error groups based on screening results (eligible and non-eligible). Long-term glucose predictions (30/60 min lead time) were evaluated among 334 individuals who underwent continuous glucose monitoring (CGM) over a total of 64,460,560 min. RESULTS A strong correlation was observed between screening accuracy and long-term mean absolute relative difference (MARD) (0.661-0.736; p < 0.001), suggesting significant predictability between screening and long-term errors. Group analysis revealed a notable reduction in predictions falling within zone D of the Clark Error Grid by a factor of three and in zone C by a factor of two. CONCLUSIONS The identification of eligible patients for glucose prediction through screening represents a practical and effective strategy. Implementation of this approach could lead to a decrease in adverse glucose predictions.
Collapse
Affiliation(s)
| | - Ole Hejlesen
- Department of Health Science and Technology, Aalborg University, Denmark
| | - Morten Hasselstrøm Jensen
- Department of Health Science and Technology, Aalborg University, Denmark; Steno Diabetes Center North Denmark, Aalborg University Hospital, Aalborg, Denmark
| |
Collapse
|
7
|
Yang H, Li W, Tian M, Ren Y. A personalized multitasking framework for real-time prediction of blood glucose levels in type 1 diabetes patients. MATHEMATICAL BIOSCIENCES AND ENGINEERING : MBE 2024; 21:2515-2541. [PMID: 38454694 DOI: 10.3934/mbe.2024111] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 03/09/2024]
Abstract
Real-time prediction of blood glucose levels (BGLs) in individuals with type 1 diabetes (T1D) presents considerable challenges. Accordingly, we present a personalized multitasking framework aimed to forecast blood glucose levels in patients. The patient data was initially categorized according to gender and age and subsequently utilized as input for a modified GRU network model, creating five prediction sub-models. The model hyperparameters were optimized and tuned after introducing the decay factor and incorporating the TCN network and attention mechanism into the GRU model. This step was undertaken to improve the capability of feature extraction. The Ohio T1DM clinical dataset was used to train and evaluate the performance of the proposed model. The metrics, including Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and Clark Error Grid Analysis (EGA), were used to evaluate the performance. The results showed that the average RMSE and the MAE of the proposed model were 16.896 and 9.978 mg/dL, respectively, over the prediction horizon (PH) of 30 minutes. The average RMSE and the MAE were 28.881 and 19.347 mg/dL, respectively, over the PH of 60 min. The proposed model demonstrated excellent prediction accuracy. In addition, the EGA analysis showed that the proposed model accurately predicted 30-minute and 60-minute PH within zones A and B, demonstrating that the framework is clinically feasible. The proposed personalized multitask prediction model in this study offers robust assistance for clinical decision-making, playing a pivotal role in improving the outcomes of individuals with diabetes.
Collapse
Affiliation(s)
- Huazhong Yang
- School of Computer Science, Yangtze University, Jingzhou 434000, China
| | - Wang Li
- Archives, Yangtze University, Jingzhou 434000, China
| | - Maojin Tian
- School of Public Health, Zunyi Medical University, Zunyi 563000, China
| | - Yangfeng Ren
- School of Petroleum Engineering, Yangtze University, Wuhan 430100, China
| |
Collapse
|
8
|
Cichosz SL. Publicly Available Data Set Including Continuous Glucose Monitoring Data. J Diabetes Sci Technol 2023; 17:1726-1727. [PMID: 37605450 PMCID: PMC10658693 DOI: 10.1177/19322968231191146] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 08/23/2023]
Affiliation(s)
- Simon Lebech Cichosz
- Department of Health Science and Technology, Aalborg University, Aalborg, Denmark
| |
Collapse
|
9
|
Yang T, Yang Q, Zhou Y, Wen C. Glucose trend prediction model based on improved wavelet transform and gated recurrent unit. MATHEMATICAL BIOSCIENCES AND ENGINEERING : MBE 2023; 20:17037-17056. [PMID: 37920046 DOI: 10.3934/mbe.2023760] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 11/04/2023]
Abstract
Glucose trend prediction based on continuous glucose monitoring (CGM) data is a crucial step in the implementation of an artificial pancreas (AP). A glucose trend prediction model with high accuracy in real-time can greatly improve the glycemic control effect of the artificial pancreas and effectively prevent the occurrence of hyperglycemia and hypoglycemia. In this paper, we propose an improved wavelet transform threshold denoising algorithm for the non-linearity and non-smoothness of the original CGM data. By quantitatively comparing the mean square error (MSE) and signal-to-noise ratio (SNR) before and after the improvement, we prove that the improved wavelet transform threshold denoising algorithm can reduce the degree of distortion after the smoothing of CGM data and improve the extraction effect of CGM data features at the same time. Based on this finding, we propose a glucose trend prediction model (IWT-GRU) based on the improved wavelet transform threshold denoising algorithm and gated recurrent unit. We compared the root mean square error (RMSE), mean absolute percentage error (MAPE), and coefficient of determination ($ {\mathrm{R}}^{2} $) of Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), Support vector regression (SVR), Gated Recurrent Unit (GRU) and IWT-GRU on the original CGM monitoring data of 80 patients for 7 consecutive days with different prediction horizon (PH). The results showed that the IWT-GRU model outperformed the other four models. At PH = 45 min, the RMSE was 0.5537 mmol/L, MAPE was 2.2147%, $ {\mathrm{R}}^{2} $ was 0.989 and the average runtime was only 37.2 seconds. Finally, we analyze the limitations of this study and provide an outlook on the future direction of blood glucose trend prediction.
Collapse
Affiliation(s)
- Tao Yang
- College of Intelligent Medicine, Chengdu University of Traditional Chinese Medicine, Chengdu 610000, Sichuan, China
- Xin-Huangpu Joint Innovation Institute of Chinese Medicine, Guangzhou 510000, Guangdong, China
| | - Qicheng Yang
- College of Intelligent Medicine, Chengdu University of Traditional Chinese Medicine, Chengdu 610000, Sichuan, China
- Xin-Huangpu Joint Innovation Institute of Chinese Medicine, Guangzhou 510000, Guangdong, China
| | - Yibo Zhou
- Beijing Certificate Authority Co., Ltd., Beijing 100000, China
| | - Chuanbiao Wen
- Xin-Huangpu Joint Innovation Institute of Chinese Medicine, Guangzhou 510000, Guangdong, China
| |
Collapse
|
10
|
Del Giorno S, D’Antoni F, Piemonte V, Merone M. A New Glycemic closed-loop control based on Dyna-Q for Type-1-Diabetes. Biomed Signal Process Control 2023. [DOI: 10.1016/j.bspc.2022.104492] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 12/14/2022]
|
11
|
Afsaneh E, Sharifdini A, Ghazzaghi H, Ghobadi MZ. Recent applications of machine learning and deep learning models in the prediction, diagnosis, and management of diabetes: a comprehensive review. Diabetol Metab Syndr 2022; 14:196. [PMID: 36572938 PMCID: PMC9793536 DOI: 10.1186/s13098-022-00969-9] [Citation(s) in RCA: 6] [Impact Index Per Article: 3.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 10/06/2022] [Accepted: 12/16/2022] [Indexed: 12/28/2022] Open
Abstract
Diabetes as a metabolic illness can be characterized by increased amounts of blood glucose. This abnormal increase can lead to critical detriment to the other organs such as the kidneys, eyes, heart, nerves, and blood vessels. Therefore, its prediction, prognosis, and management are essential to prevent harmful effects and also recommend more useful treatments. For these goals, machine learning algorithms have found considerable attention and have been developed successfully. This review surveys the recently proposed machine learning (ML) and deep learning (DL) models for the objectives mentioned earlier. The reported results disclose that the ML and DL algorithms are promising approaches for controlling blood glucose and diabetes. However, they should be improved and employed in large datasets to affirm their applicability.
Collapse
|