| Literature DB >> 35621461 |
Federico D'Antoni1, Lorenzo Petrosino1, Fabiola Sgarro1, Antonio Pagano1, Luca Vollero1, Vincenzo Piemonte2, Mario Merone1.
Abstract
BACKGROUND: Type 1 Diabetes Mellitus (T1D) is an autoimmune disease that can cause serious complications that can be avoided by preventing the glycemic levels from exceeding the physiological range. Straightforwardly, many data-driven models were developed to forecast future glycemic levels and to allow patients to avoid adverse events. Most models are tuned on data of adult patients, whereas the prediction of glycemic levels of pediatric patients has been rarely investigated, as they represent the most challenging T1D population.Entities:
Keywords: artificial intelligence; decision support system; diabetes; edge computing; glucose prediction; neural network; pediatrics; precision medicine; time-series forecasting
Year: 2022 PMID: 35621461 PMCID: PMC9137786 DOI: 10.3390/bioengineering9050183
Source DB: PubMed Journal: Bioengineering (Basel) ISSN: 2306-5354
Figure 1Graphical example of 5 days of data generated for patient child#007. Many hyperglycemic () values can be observed due to the modification of the optimal bolus values.
Figure 2Schematic representation of the proposed Convolutional Neural Network.
Figure 3Schematic representation of the proposed LSTM Recurrent Neural Network.
Figure 4Schematic representation of the experimental setup during the test phase with edge systems.
Results of the tests performed with the proposed models CNN and LSTM. In this test, the normalization step was not performed in the pre-processing phase. The results refer to the RMSE [mg/dL] achieved on both the ideal (no-error) and the realistic (hypo-hyper) dataset. Such results are reported in terms of average RMSE ± standard deviation. The CEG results are referred only to the realistic dataset, and its results are reported as percentage on the total dataset. For each neural network, we reported the results for the model implemented on Google Colab, for the model implemented on Raspberry (.tflite float32 format), and for the model implemented on the Dev Board (.tflite uint8).
| Model | RMSE (No-Error) | RMSE (Hypo-Hyper) | CEG (A; B; C; D; E) |
|---|---|---|---|
| CNN |
|
| 87.0; 12.0; 0.0; 1.0; 0.0 |
| LSTM |
|
| 93.8; 5.2; 0.0; 1.0; 0.0 |
| CNN | / |
| 85.7; 13.6; 0.0; 0.7; 0.0 |
| LSTM | / |
| 93.7; 5.2; 0.0; 1.1; 0.0 |
| CNN | / |
| 75.4; 20.8; 0.0; 1.2; 2.5 |
| LSTM | / |
| 82.4; 12.5; 0.0; 1.5; 3.6 |
Figure 5Graphical examples of the best and worst predictions performed by the CNN (left) and LSTM (right) using different edge devices. We computed the confidence interval for the predicted values, which are 2.01 for the worst .tflite, 2.14 for the worst uint8, and 1.09 for either the best .tflite and uint8, respectively. Nonetheless, we do not report such an interval in the figure because its values are too small to be observed in the graphics. The glycemic index values shown in the figure are normalized between 0 and 255; thus, to obtain the real glycemic values, we need to multiply by 2.33.
Figure 6Clarke Error Grids resulted by the best and worst predictions of the CNN (left) and LSTM (right) using different edge devices. Predictions falling in the safe zones A and B are plotted in green; predictions in zone C are plotted in yellow; predictions falling in the dangerous zones D and E are plotted in red.
Results of the tests performed with the proposed models CNN and LSTM, on which was carried the normalization step in the pre-processing phase. The results refer to the RMSE [mg/dL] achieved on the realistic (hypo-hyper) dataset. Such results are reported in terms of average RMSE ± standard deviation. The CEG results are referred only to the realistic dataset, and its results are reported as percentage on the total dataset. For each neural network, we reported the results for the model implemented on Google Colab, and for the model implemented on the Dev Board (.tflite uint8 format).
| Model | RMSE (Hypo-Hyper) | CEG (A; B; C; D; E) |
|---|---|---|
| CNN |
| 87.8; 10.9; 0.0; 1.1; 0.0 |
| LSTM |
| 93.7; 5.5; 0.0; 0.8; 0.0 |
| CNN |
| 87.6; 9.8; 0.0; 0.9; 0.0 |
| LSTM |
| 87.4; 7.5; 0.0; 5.1; 0.0 |
Maximum inference time obtained in the test phase in milliseconds. The inference times are reported for each model, CNN and LSTM. They were calculated: for the models saved in TensorFlow saved model format over the Colab online TPU, for the .tflite model format over the Raspberry and for the .tflite format quantizated in uint8 over the Coral DevBoard.
| Model | Colab TPU (TF Saved Model) | Raspberry ( | Coral DevBoard ( |
|---|---|---|---|
| CNN | 0.085 | 101.56 | 18 |
| LSTM | 0.086 | 70.3 | 12 |