{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T05:10:18Z","timestamp":1790053818589,"version":"4.0.1"},"reference-count":32,"publisher":"MDPI AG","issue":"20","license":[{"start":{"date-parts":[[2019,10,18]],"date-time":"2019-10-18T00:00:00Z","timestamp":1571356800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"PERSEIDES (ref. TIN2017-86885-R)","award":["PERSEIDES (ref. TIN2017-86885-R)"],"award-info":[{"award-number":["PERSEIDES (ref. TIN2017-86885-R)"]}]},{"name":"CHIST-ERA (ref. PCIN-2016-010)","award":["CHIST-ERA (ref. PCIN-2016-010)"],"award-info":[{"award-number":["CHIST-ERA (ref. PCIN-2016-010)"]}]},{"name":"MINECO grant BES-2015-071956","award":["MINECO grant BES-2015-071956"],"award-info":[{"award-number":["MINECO grant BES-2015-071956"]}]},{"name":"H2020-ENTROPY-649849 EU Project","award":["H2020-ENTROPY-649849 EU Project"],"award-info":[{"award-number":["H2020-ENTROPY-649849 EU Project"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>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 \u2018on-the-fly\u2019 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.<\/jats:p>","DOI":"10.3390\/s19204538","type":"journal-article","created":{"date-parts":[[2019,10,18]],"date-time":"2019-10-18T11:24:15Z","timestamp":1571397855000},"page":"4538","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":34,"title":["On the Possibility of Predicting Glycaemia \u2018On the Fly\u2019 with Constrained IoT Devices in Type 1 Diabetes Mellitus Patients"],"prefix":"10.3390","volume":"19","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0118-3406","authenticated-orcid":false,"given":"Ignacio","family":"Rodr\u00edguez-Rodr\u00edguez","sequence":"first","affiliation":[{"name":"Departamento de Ingenier\u00eda de la Informaci\u00f3n y las Comunicaciones, Universidad de Murcia, Facultad de Inform\u00e1tica, 30100 Murcia, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3298-6439","authenticated-orcid":false,"given":"Jos\u00e9-V\u00edctor","family":"Rodr\u00edguez","sequence":"additional","affiliation":[{"name":"Departamento de Tecnolog\u00edas de la Informaci\u00f3n y las Comunicaciones, Universidad Polit\u00e9cnica de Cartagena, 30202 Cartagena, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8955-9270","authenticated-orcid":false,"given":"Ioannis","family":"Chatzigiannakis","sequence":"additional","affiliation":[{"name":"Dipartimento di Ingegneria Informatica Automatica e Gestionale \u2018Antonio Ruberti\u2019, Sapienza Universit\u00e0 di Roma, 00185 Roma, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0130-2364","authenticated-orcid":false,"given":"Miguel \u00c1ngel","family":"Zamora Izquierdo","sequence":"additional","affiliation":[{"name":"Departamento de Ingenier\u00eda de la Informaci\u00f3n y las Comunicaciones, Universidad de Murcia, Facultad de Inform\u00e1tica, 30100 Murcia, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2019,10,18]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"824","DOI":"10.1056\/NEJMoa1206881","article-title":"Nocturnal glucose control with an artificial pancreas at a diabetes camp","volume":"368","author":"Phillip","year":"2013","journal-title":"N. Engl. J. Med."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"478","DOI":"10.1177\/193229680700100405","article-title":"Predictive monitoring for improved management of glucose levels","volume":"1","author":"Reifman","year":"2007","journal-title":"J. Diabetes Sci. Technol."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"54","DOI":"10.1109\/RBME.2009.2036073","article-title":"Diabetes, Models, Signals and Control","volume":"2","author":"Cobelli","year":"2009","journal-title":"IEEE Rev. Biomed. Eng."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"181","DOI":"10.1016\/j.neunet.2012.05.004","article-title":"A meta-learning approach to the regularized learning\u2014Case study: Blood glucose prediction","volume":"33","author":"Naumova","year":"2012","journal-title":"Neural Netw."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Cappon, G., Acciaroli, G., Vettoretti, M., Facchinetti, A., and Sparacino, G. (2017). Wearable continuous glucose monitoring sensors: A revolution in diabetes treatment. Electronics, 6.","DOI":"10.3390\/electronics6030065"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"641","DOI":"10.1016\/j.future.2017.02.014","article-title":"Exploiting smart e-Health gateways at the edge of healthcare Internet-of-Things: A fog computing approach","volume":"78","author":"Rahmani","year":"2018","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"479","DOI":"10.3233\/AIS-130220","article-title":"Commodity 12: A smart e-health environment for diabetes management","volume":"5","author":"Bromuri","year":"2013","journal-title":"J. Ambient Intell. Smart Environ."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Rodr\u00edguez-Rodr\u00edguez, I., Zamora-Izquierdo, M.\u00c1., and Rodr\u00edguez, J.V. (2018). Towards an ICT-based platform for type 1 diabetes mellitus management. Appl. Sci., 8.","DOI":"10.3390\/app8040511"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Li, K., Daniels, J., Liu, C., Herrero-Vinas, P., and Georgiou, P. (2019). Convolutional recurrent neural networks for glucose prediction. IEEE J. Biomed. Health Inform.","DOI":"10.1109\/JBHI.2019.2908488"},{"key":"ref_10","unstructured":"Marling, C., Xia, L., Bunescu, R., and Schwartz, F. (2019, January 10\u201312). Machine learning experiments with noninvasive sensors for hypoglycemia detection. Proceedings of the IJCAI Workshop on Knowledge Discovery in Healthcare Data, Macao, China."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"230","DOI":"10.1109\/LCSYS.2018.2844179","article-title":"Postprandial Glucose Regulation via KNN Meal Classification in Type 1 Diabetes","volume":"3","author":"Aiello","year":"2019","journal-title":"IEEE Control Syst. Lett."},{"key":"ref_12","unstructured":"Zhu, T., Li, K., Herrero, P., Chen, J., and Georgiou, P. (2018, January 13). A Deep Learning Algorithm for Personalized Blood Glucose Prediction. Proceedings of the KHD@ IJCAI, Stockholm, Schweden."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"69","DOI":"10.1016\/j.mbs.2013.05.006","article-title":"Mathematical modeling of the glucose\u2013insulin system: A review","volume":"244","author":"Palumbo","year":"2013","journal-title":"Math. Biosci."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"81","DOI":"10.1089\/dia.2009.0076","article-title":"Artificial neural network algorithm for online glucose prediction from continuous glucose monitoring","volume":"12","author":"Facchinetti","year":"2010","journal-title":"Diabetes Technol. Ther."},{"key":"ref_15","unstructured":"Plis, K., Bunescu, R.C., Marling, C., Shubrook, J., and Schwartz, F. (2014, January 27\u201328). A machine learning approach to predicting blood glucose levels for diabetes management. Proceedings of the Workshops at the Twenty-Eighth AAAI Conference on Artificial Intelligence, Qu\u00e9bec City, QC, Canada."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"362","DOI":"10.1016\/j.bbe.2018.02.005","article-title":"Accurate prediction of continuous blood glucose based on support vector regression and differential evolution algorithm","volume":"38","author":"Hamdi","year":"2018","journal-title":"Biocybern. Biomed. Eng."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"86","DOI":"10.1177\/1932296814554260","article-title":"Hypoglycemia prediction using machine learning models for patients with type 2 diabetes","volume":"9","author":"Sudharsan","year":"2014","journal-title":"J. Diabetes Sci. Technol."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Kane, M.J., Price, N., Scotch, M., and Rabinowitz, P. (2014). Comparison of ARIMA and Random Forest time series models for prediction of avian influenza H5N1 outbreaks. BMC Bioinform., 15.","DOI":"10.1186\/1471-2105-15-276"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"787","DOI":"10.1089\/dia.2011.0033","article-title":"Assessment of blood glucose predictors: The prediction-error grid analysis","volume":"13","author":"Sivananthan","year":"2011","journal-title":"Diabetes Technol. Ther."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Naumova, V., Nita, L., Poulsen, J.U., and Pereverzyev, S.V. (2016). Meta-learning based blood glucose predictor for diabetic smartphone app. Prediction Methods for Blood Glucose Concentration, Springer.","DOI":"10.1007\/978-3-319-25913-0_6"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Taie, M., El-Faramawy, I., and Elmawazini, M. (2015). Methods for Prediction, Simulation and Verification of Real-Time Software Architectural Design Based on Machine Learning Algorithms, SAE Technical Paper. 2015-01-0190.","DOI":"10.4271\/2015-01-0190"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"5","DOI":"10.1145\/1163593.1163596","article-title":"A preliminary performance comparison of five machine learning algorithms for practical IP traffic flow classification","volume":"36","author":"Williams","year":"2006","journal-title":"ACM SIGCOMM Comput. Commun. Rev."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"544","DOI":"10.1016\/j.neuroimage.2010.11.002","article-title":"Performance comparison of machine learning algorithms and number of independent components used in fMRI decoding of belief vs. disbelief","volume":"56","author":"Douglas","year":"2011","journal-title":"Neuroimage"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"125","DOI":"10.1007\/s10462-012-9366-7","article-title":"Comparison of machine learning techniques for target detection","volume":"43","author":"Vink","year":"2015","journal-title":"Artif. Intell. Rev."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"92","DOI":"10.1016\/j.imu.2018.09.003","article-title":"The open D1NAMO dataset: A multi-modal dataset for research on non-invasive type 1 diabetes management","volume":"13","author":"Dubosson","year":"2018","journal-title":"Inform. Med. Unlocked"},{"key":"ref_26","unstructured":"Box, G.E., Jenkins, G.M., Reinsel, G.C., and Ljung, G.M. (2015). Time Series Analysis: Forecasting and Control, John Wiley & Sons."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"123","DOI":"10.1007\/BF00058655","article-title":"Bagging predictors","volume":"24","author":"Breiman","year":"1996","journal-title":"Mach. Learn."},{"key":"ref_28","unstructured":"Vapnik, V. (2013). The Nature of Statistical Learning Theory, Springer Science & Business Media."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Herrera, D., Chen, H., Lavoie, E., and Hendren, L. (2018, January 6). Numerical computing on the web: Benchmarking for the future. Proceedings of the 14th ACM SIGPLAN International Symposium on Dynamic Languages, Boston, MA, USA.","DOI":"10.1145\/3276945.3276968"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"81","DOI":"10.1109\/MCC.2018.053711669","article-title":"CLOUDS-Pi: A low-cost raspberry-pi based micro data center for software-defined cloud computing","volume":"5","author":"Toosi","year":"2018","journal-title":"IEEE Cloud Comput."},{"key":"ref_31","first-page":"716","article-title":"Roles of circadian rhythmicity and sleep in human glucose regulation 1","volume":"18","author":"Polonsky","year":"1997","journal-title":"Endocr. Rev."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"6232","DOI":"10.1038\/s41598-017-06478-4","article-title":"Chaotic time series prediction for glucose dynamics in type 1 diabetes mellitus using regimeswitching models","volume":"7","author":"Frandes","year":"2017","journal-title":"Sci. Rep."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/20\/4538\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T13:27:40Z","timestamp":1760189260000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/20\/4538"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,10,18]]},"references-count":32,"journal-issue":{"issue":"20","published-online":{"date-parts":[[2019,10]]}},"alternative-id":["s19204538"],"URL":"https:\/\/doi.org\/10.3390\/s19204538","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,10,18]]}}}