On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients
Type 1 Diabetes Mellitus (DM1) patients are used to checking their blood glucose levels several times per day through finger sticks and, by subjectively handling this information, to try to predict their future glycaemia in order to choose a proper strategy to keep their glucose levels under control...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2019-10-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/19/20/4538 |
_version_ | 1828109371930836992 |
---|---|
author | Ignacio Rodríguez-Rodríguez José-Víctor Rodríguez Ioannis Chatzigiannakis Miguel Ángel Zamora Izquierdo |
author_facet | Ignacio Rodríguez-Rodríguez José-Víctor Rodríguez Ioannis Chatzigiannakis Miguel Ángel Zamora Izquierdo |
author_sort | Ignacio Rodríguez-Rodríguez |
collection | DOAJ |
description | Type 1 Diabetes Mellitus (DM1) patients are used to checking their blood glucose levels several times per day through finger sticks and, by subjectively handling this information, to try to predict their future glycaemia in order to choose a proper strategy to keep their glucose levels under control, in terms of insulin dosages and other factors. However, recent Internet of Things (IoT) devices and novel biosensors have allowed the continuous collection of the value of the glucose level by means of Continuous Glucose Monitoring (CGM) so that, with the proper Machine Learning (ML) algorithms, glucose evolution can be modeled, thus permitting a forecast of this variable. On the other hand, glycaemia dynamics require that such a model be user-centric and should be recalculated continuously in order to reflect the exact status of the patient, i.e., an ‘on-the-fly’ approach. In order to avoid, for example, the risk of being disconnected from the Internet, it would be ideal if this task could be performed locally in constrained devices like smartphones, but this would only be feasible if the execution times were fast enough. Therefore, in order to analyze if such a possibility is viable or not, an extensive, passive, CGM study has been carried out with 25 DM1 patients in order to build a solid dataset. Then, some well-known univariate algorithms have been executed in a desktop computer (as a reference) and two constrained devices: a smartphone and a Raspberry Pi, taking into account only past glycaemia data to forecast glucose levels. The results indicate that it is possible to forecast, in a smartphone, a 15-min horizon with a Root Mean Squared Error (RMSE) of 11.65 mg/dL in just 16.15 s, employing a 10-min sampling of the past 6 h of data and the Random Forest algorithm. With the Raspberry Pi, the computational effort increases to 56.49 s assuming the previously mentioned parameters, but this can be improved to 34.89 s if Support Vector Machines are applied, achieving in this case an RMSE of 19.90 mg/dL. Thus, this paper concludes that local on-the-fly forecasting of glycaemia would be affordable with constrained devices. |
first_indexed | 2024-04-11T11:02:23Z |
format | Article |
id | doaj.art-de13811f7725496cba913c505defb928 |
institution | Directory Open Access Journal |
issn | 1424-8220 |
language | English |
last_indexed | 2024-04-11T11:02:23Z |
publishDate | 2019-10-01 |
publisher | MDPI AG |
record_format | Article |
series | Sensors |
spelling | doaj.art-de13811f7725496cba913c505defb9282022-12-22T04:28:31ZengMDPI AGSensors1424-82202019-10-011920453810.3390/s19204538s19204538On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus PatientsIgnacio Rodríguez-Rodríguez0José-Víctor Rodríguez1Ioannis Chatzigiannakis2Miguel Ángel Zamora Izquierdo3Departamento de Ingeniería de la Información y las Comunicaciones, Universidad de Murcia, Facultad de Informática, 30100 Murcia, SpainDepartamento de Tecnologías de la Información y las Comunicaciones, Universidad Politécnica de Cartagena, 30202 Cartagena, SpainDipartimento di Ingegneria Informatica Automatica e Gestionale ‘Antonio Ruberti’, Sapienza Università di Roma, 00185 Roma, ItalyDepartamento de Ingeniería de la Información y las Comunicaciones, Universidad de Murcia, Facultad de Informática, 30100 Murcia, SpainType 1 Diabetes Mellitus (DM1) patients are used to checking their blood glucose levels several times per day through finger sticks and, by subjectively handling this information, to try to predict their future glycaemia in order to choose a proper strategy to keep their glucose levels under control, in terms of insulin dosages and other factors. However, recent Internet of Things (IoT) devices and novel biosensors have allowed the continuous collection of the value of the glucose level by means of Continuous Glucose Monitoring (CGM) so that, with the proper Machine Learning (ML) algorithms, glucose evolution can be modeled, thus permitting a forecast of this variable. On the other hand, glycaemia dynamics require that such a model be user-centric and should be recalculated continuously in order to reflect the exact status of the patient, i.e., an ‘on-the-fly’ approach. In order to avoid, for example, the risk of being disconnected from the Internet, it would be ideal if this task could be performed locally in constrained devices like smartphones, but this would only be feasible if the execution times were fast enough. Therefore, in order to analyze if such a possibility is viable or not, an extensive, passive, CGM study has been carried out with 25 DM1 patients in order to build a solid dataset. Then, some well-known univariate algorithms have been executed in a desktop computer (as a reference) and two constrained devices: a smartphone and a Raspberry Pi, taking into account only past glycaemia data to forecast glucose levels. The results indicate that it is possible to forecast, in a smartphone, a 15-min horizon with a Root Mean Squared Error (RMSE) of 11.65 mg/dL in just 16.15 s, employing a 10-min sampling of the past 6 h of data and the Random Forest algorithm. With the Raspberry Pi, the computational effort increases to 56.49 s assuming the previously mentioned parameters, but this can be improved to 34.89 s if Support Vector Machines are applied, achieving in this case an RMSE of 19.90 mg/dL. Thus, this paper concludes that local on-the-fly forecasting of glycaemia would be affordable with constrained devices.https://www.mdpi.com/1424-8220/19/20/4538continuous glucose monitoringwearable devicesconstrained devicestime series forecastingmachine learning |
spellingShingle | Ignacio Rodríguez-Rodríguez José-Víctor Rodríguez Ioannis Chatzigiannakis Miguel Ángel Zamora Izquierdo On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients Sensors continuous glucose monitoring wearable devices constrained devices time series forecasting machine learning |
title | On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients |
title_full | On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients |
title_fullStr | On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients |
title_full_unstemmed | On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients |
title_short | On the Possibility of Predicting Glycaemia ‘On the Fly’ with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients |
title_sort | on the possibility of predicting glycaemia on the fly with constrained iot devices in type 1 diabetes mellitus patients |
topic | continuous glucose monitoring wearable devices constrained devices time series forecasting machine learning |
url | https://www.mdpi.com/1424-8220/19/20/4538 |
work_keys_str_mv | AT ignaciorodriguezrodriguez onthepossibilityofpredictingglycaemiaontheflywithconstrainediotdevicesintype1diabetesmellituspatients AT josevictorrodriguez onthepossibilityofpredictingglycaemiaontheflywithconstrainediotdevicesintype1diabetesmellituspatients AT ioannischatzigiannakis onthepossibilityofpredictingglycaemiaontheflywithconstrainediotdevicesintype1diabetesmellituspatients AT miguelangelzamoraizquierdo onthepossibilityofpredictingglycaemiaontheflywithconstrainediotdevicesintype1diabetesmellituspatients |