| Literature DB >> 35214566 |
Adrià Parcerisas1, Ivan Contreras1, Alexia Delecourt1, Arthur Bertachi2, Aleix Beneyto1, Ignacio Conget3,4,5, Clara Viñals3, Marga Giménez3,4,5, Josep Vehi1,4.
Abstract
Nocturnal hypoglycemia (NH) is one of the most challenging events for multiple dose insulin therapy (MDI) in people with type 1 diabetes (T1D). The goal of this study is to design a method to reduce the incidence of NH in people with T1D under MDI therapy, providing a decision-support system and improving confidence toward self-management of the disease considering the dataset used by Bertachi et al. Different machine learning (ML) algorithms, data sources, optimization metrics and mitigation measures to predict and avoid NH events have been studied. In addition, we have designed population and personalized models and studied the generalizability of the models and the influence of physical activity (PA) on them. Obtaining 30 g of rescue carbohydrates (CHO) is the optimal value for preventing NH, so it can be asserted that this is the value with which the time under 70 mg/dL decreases the most, with almost a 35% reduction, while increasing the time in the target range by 1.3%. This study supports the feasibility of using ML techniques to address the prediction of NH in patients with T1D under MDI therapy, using continuous glucose monitoring (CGM) and a PA tracker. The results obtained prove that BG predictions can not only be critical in achieving safer diabetes management, but also assist physicians and patients to make better and safer decisions regarding insulin therapy and their day-to-day lives.Entities:
Keywords: hypoglycemia; machine learning; multiple daily injections; prediction model; support vector machine; type 1 diabetes
Mesh:
Substances:
Year: 2022 PMID: 35214566 PMCID: PMC8876195 DOI: 10.3390/s22041665
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Methodology applied to prepare the raw data for machine learning.
Equations of the performance metrics evaluated.
| Performance Metrics | |
|---|---|
|
|
|
|
|
|
|
| |
Figure 2General diagram of the methodology employed to build the machine learning models.
Figure 3Summary of the parameters and implemented features in the UVA Padova simulator to validate the mitigation measures. Abbreviations: OL, open loop.
Median sensitivity (SE) and specificity (SP) of the model using support vector machines (SVM), including physical activity measures. Three different performance metrics were evaluated: MCC, F1score and Gmean. Results are presented in percentage. Non-evaluated results are marked as X.
| Patient ID | MCC | F1score | Gmean | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| SE (%) | SP (%) | MCC | SE (%) | SP (%) | F1score | SE (%) | SP (%) | Gmean | ||
|
| P12 | 43 | 78 | 0.2 | 39 | 80 | 0.37 | 43 | 78 | 0.58 |
| P18 | 50 | 88 | 0.38 | 50 | 92 | 0.55 | 50 | 92 | 0.68 | |
| P23 | 67 | 92 | 0.59 | 73 | 86 | 0.63 | 73 | 86 | 0.79 | |
| P29 | 62 | 80 | 0.42 | 62 | 80 | 0.63 | 62 | 80 | 0.7 | |
| P34 | 75 | 67 | 0.32 | 75 | 67 | 0.44 | 75 | 69 | 0.72 | |
| P40 | 88 | 54 | 0.35 | 88 | 54 | 0.52 | 88 | 54 | 0.69 | |
| P45 | 90 | 50 | 0.45 | 100 | 43 | 0.8 | 100 | 43 | 0.62 | |
| P51 | 67 | 91 | 0.58 | 67 | 91 | 0.67 | 67 | 91 | 0.78 | |
| P56 | 95 | 74 | 0.67 | 95 | 74 | 0.79 | 95 | 74 | 0.84 | |
| P62 | 75 | 46 | 0.22 | 75 | 46 | 0.69 | 75 | 46 | 0.59 | |
|
|
|
|
|
|
|
| ||||
|
| P12 | 71 | 50 | 0.23 | 67 | 50 | 0.37 | 65 | 60 | 0.61 |
| P18 | 88 | 75 | 0.54 | 73 | 100 | 0.4 | 78 | 50 | 0.55 | |
| P23 | 73 | 60 | 0.22 | 75 | 100 | 0.5 | 69 | 67 | 0.68 | |
| P29 | 67 | 62 | 0.24 | 56 | 67 | 0.57 | 70 | 75 | 0.75 | |
| P34 | 83 | 50 | 0.29 | 91 | 50 | 0.5 | 91 | 67 | 0.78 | |
| P40 | X | X | X | X | X | X | X | X | X | |
| P45 | 80 | 100 | 0.73 | 67 | 75 | 0.67 | 50 | 75 | 0.5 | |
| P51 | X | X | X | X | X | X | X | X | X | |
| P56 | 83 | 67 | 0.31 | 86 | 67 | 0.67 | 62 | 67 | 0.65 | |
| P62 | 75 | 75 | 0.45 | 75 | 69 | 0.76 | 75 | 67 | 0.63 | |
|
|
|
|
|
|
|
| ||||
Median sensitivity (SN) and specificity (SP) of the model using support vector machines (SVM), excluding physical activity measures. Three different performance metrics were evaluated: MCC, F1score and Gmean. Results are presented in percentage. Non-evaluated results are marked as X.
| Patient ID | MCC | F1score | Gmean | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| SE (%) | SP (%) | MCC | SE (%) | SP (%) | F1 score | SE (%) | SP (%) | Gmean | ||
|
| P12 | 33 | 75 | 0.08 | 42 | 75 | 0.37 | 42 | 75 | 0.56 |
| P18 | 64 | 82 | 0.4 | 45 | 92 | 0.5 | 45 | 92 | 0.65 | |
| P23 | 73 | 84 | 0.51 | 73 | 85 | 0.61 | 73 | 85 | 0.79 | |
| P29 | 56 | 75 | 0.31 | 56 | 70 | 0.58 | 56 | 70 | 0.63 | |
| P34 | 77 | 65 | 0.32 | 77 | 65 | 0.45 | 77 | 65 | 0.71 | |
| P40 | 86 | 63 | 0.39 | 86 | 63 | 0.52 | 86 | 63 | 0.73 | |
| P45 | 86 | 69 | 0.56 | 86 | 69 | 0.84 | 86 | 69 | 0.77 | |
| P51 | 67 | 82 | 0.44 | 67 | 82 | 0.44 | 67 | 82 | 0.44 | |
| P56 | 90 | 69 | 0.56 | 85 | 69 | 0.71 | 85 | 69 | 0.76 | |
| P62 | 63 | 65 | 0.28 | 63 | 65 | 0.66 | 63 | 65 | 0.71 | |
|
|
|
|
|
|
|
| ||||
|
| P12 | 61 | 83 | 0.34 | 72 | 62 | 0.4 | 60 | 50 | 0.57 |
| P18 | 89 | 33 | 0.26 | 89 | 33 | 0.4 | 78 | 67 | 0.72 | |
| P23 | 69 | 80 | 0.38 | 78 | 100 | 0.67 | 72 | 100 | 0.85 | |
| P29 | 73 | 67 | 0.4 | 57 | 62 | 0.62 | 62 | 60 | 0.6 | |
| P34 | 75 | 50 | 0.42 | 83 | 50 | 0.25 | 83 | 50 | 0.65 | |
| P40 | X | X | X | X | X | X | X | X | X | |
| P45 | 50 | 75 | 0.25 | 50 | 75 | 0.75 | 50 | 75 | 0.58 | |
| P51 | X | X | X | X | X | X | X | X | X | |
| P56 | 78 | 67 | 0.31 | 71 | 80 | 0.73 | 71 | 60 | 0.71 | |
| P62 | 75 | 75 | 0.38 | 60 | 64 | 0.71 | 62 | 73 | 0.72 | |
|
|
|
|
|
|
|
| ||||
Figure 4(a,b) represent the receiver operating characteristic (ROC) curves generated by population models, both including (left) and excluding (right) PA models. Figures (c,d) represent the ROC curves generated by population models per patient, both including (left) and excluding (right) PA models.
Percentage of nights with hypoglycemia between 00:00 and 06:00. Results are expressed in percentages. The baseline simulation corresponds to the same simulation, but without rescue CHO.
| t = 20 | t = 20 | t = 40 | t = 40 | t = 60 | t = 60 | ||
|---|---|---|---|---|---|---|---|
| Patient ID | Baseline | Rescue CHO = 20 | Rescue CHO = 30 | Rescue CHO = 20 | Rescue CHO = 30 | Rescue CHO = 20 | Rescue CHO = 30 |
| P12 | 32.58 | 23.60 | 23.60 | 23.60 | 23.60 | 23.60 | 23.60 |
| P18 | 30.34 | 19.10 | 19.10 | 20.22 | 19.10 | 21.35 | 21.35 |
| P23 | 23.60 | 19.10 | 19.10 | 19.10 | 19.10 | 19.10 | 19.10 |
| P29 | 32.58 | 23.60 | 23.60 | 28.09 | 26.97 | 29.21 | 28.09 |
| P34 | 25.84 | 17.98 | 17.98 | 17.98 | 17.98 | 19.10 | 17.98 |
| P40 | 35.96 | 22.47 | 22.47 | 22.47 | 22.47 | 23.60 | 22.47 |
| P45 | 21.35 | 15.73 | 14.61 | 15.73 | 14.61 | 14.61 | 14.61 |
| P51 | 38.20 | 24.72 | 23.60 | 25.84 | 24.72 | 24.72 | 24.72 |
| P56 | 30.34 | 22.47 | 22.47 | 22.47 | 22.47 | 22.47 | 22.47 |
| P62 | 34.83 | 21.35 | 21.35 | 25.84 | 21.35 | 28.09 | 26.97 |
|
|
|
|
|
|
|
|
|
Figure 5Example of action to prevent a hypoglycemic event with 30 g CHO. In blue: the baseline mg/dL of a given patient during the event. In red, black, and green the mg/dL when 30 g of rescue CHO were ingested with different time constants of absorption.
Percentage of nights with nocturnal hypoglycemia (NH) between 00:00 and 06:00 for 20 and 30 g of rescue CHO (p-values < 0.0005).
| No Rescue CHO (Baseline) | Rescue CHO = 20 gr. | Rescue CHO = 30 gr. | ||||
|---|---|---|---|---|---|---|
| Patient ID | Nights with NH | # Hypos | #Hypos | Reduction | # Hypos | Reduction |
| (%) | (%) | (%) | ||||
| P12 | 32.58 | 29 | 21 | 27.59% | 20 | 31.03% |
| P18 | 30.34 | 27 | 15 | 44.44% | 16 | 40.74% |
| P23 | 23.6 | 21 | 13 | 38.10% | 17 | 19.05% |
| P29 | 32.58 | 29 | 23 | 20.69% | 21 | 27.59% |
| P34 | 25.84 | 23 | 20 | 13.04% | 14 | 39.13% |
| P40 | 35.96 | 32 | 17 | 46.88% | 17 | 46.88% |
| P45 | 21.35 | 19 | 15 | 21.05% | 9 | 52.63% |
| P51 | 38.2 | 34 | 21 | 38.24% | 22 | 35.29% |
| P56 | 30.34 | 27 | 20 | 25.93% | 15 | 44.44% |
| P62 | 34.83 | 31 | 22 | 29.03% | 21 | 32.26% |
|
|
|
|
|
|
|
|
Statistical results of the percentage of time in different glycemic intervals (p-values < 0.05). Each blood glucose level interval is expressed in mg/dL. Abbreviations: TBR, time below range; TIR, time in range; TAR, time above range; NaN, not a number.
| Baseline | CHO = 20 | Reduction | CHO = 30 | Variation | |
|---|---|---|---|---|---|
|
| 0.56 | 0.40 | −35.09% | 0.31 | −44.44% |
|
| 7.24 | 4.89 | −32.44% | 4.34 | −40.09% |
|
| 92.51 | 94.56 | +2.22% | 94.19 | +1.82% |
|
| 0 | 0 | - | 0.14 | - |