journal article·2024-10-29Open access

Characterizing the Impact of Physical Activity on Patients with Type 1 Diabetes Using Statistical and Machine Learning Models

David Chushig-Muzo, Hugo Calero-Díaz, Himar Fabelo, Eirik Årsand, Peter Ruben van Dijk, Cristina Soguero-Ruiz

Applied Sciences· Volume 14· Issue 21

Abstract

Continuous glucose monitoring (CGM) represents a significant advancement in diabetes management, playing an important role in glycemic control for patients with type 1 diabetes (T1D). Despite their benefits, their performance is affected by numerous factors such as the carbohydrate intake, alcohol consumption, and physical activity (PA). Among these, PA could cause hypoglycemic episodes, which might happen after exercising. In this work, two main contributions are presented. First, we extend the performance evaluation of two glucose monitoring devices, Eversense and Free Style Libre (FSL), for measuring glucose concentrations during high-intensity PA and normal daily activity (NDA). The impact of PA is investigated considering (1) different glucose ranges (hypoglycemia, euglycemia, and hyperglycemia); and (2) four time periods throughout the day (morning, afternoon, evening, and night). Second, we evaluate the effectiveness of machine learning (ML) models, including logistic regression, K-nearest neighbors, and support vector machine, to automatically detect PA in T1D individuals using glucose measurements. The performance analysis showed significant differences between glucose levels obtained in the PA and NDA period for Eversense and FSL devices, specially in the hyperglycemic range and two time intervals (morning and afternoon). Both Eversense and FSL devices present measurements with large variability during strenuous PA, indicating that their users should be cautious. However, glucose recordings provided by monitoring devices are accurate for NDA, reaching similar values to capillary glucose device. Lastly, ML-based models yielded promising results to determine when an individual has performed PA, reaching an accuracy value of 0.93. The results can be used to develop an individualized data-driven classifier for each patient that categorizes glucose profiles based on the time interval during the day and according to if a patient performs PA. Our work contributes to the analysis of PA on the performance of CGM devices.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Artificial Intelligence in Healthcare · Diabetes Management and Research · Machine Learning in Healthcare

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Signal Theory and Communications, Telematics and Computing Systems, Rey Juan Carlos University, Fuenlabrada, 28943 Madrid, Spain

Fundación Canaria Instituto de Investigación Sanitaria de Canarias (FIISC), 35012 Las Palmas de Gran Canaria, Spain

Research Unit, Hospital Universitario de Gran Canaria Dr. Negrin, 35010 Las Palmas de Gran Canaria, Spain

Institute for Applied Microelectronics, Universidad de Las Palmas de Gran Canaria, 35001 Las Palmas de Gran Canaria, Spain

Department of Computer Science, Faculty of Science and Technology, UiT The Arctic University of Norway, 9019 Tromsø, Norway

Department of Internal Medicine, Divisions of Endocrinology, Isala, Diabetes Center, 8025 AB Zwolle, The Netherlands

University Medical Center Groningen, University of Groningen, 9712 CP Groningen, The Netherlands

Funding

European Commission · Spanish Government · Community of Madrid · Rey Juan Carlos University

References (54)

Show source-provided references
2. Insulin therapy in adults with type 1 diabetes mellitus: A narrative review10.1007/s13300-019-00743-7 ↗
3. Adjusting insulin doses in patients with type 1 diabetes who use insulin pump and continuous glucose monitoring: Variations among countries and physicians10.1111/dom.13408 ↗
4. Real-world flash glucose monitoring patterns and associations between self-monitoring frequency and glycaemic measures: A European analysis of over 60 million glucose tests10.1016/j.diabres.2017.12.015 ↗
5. Lee, I., Probst, D., Klonoff, D., and Sode, K. (2021). Continuous glucose monitoring systems—Current status and future perspectives of the flagship technologies in biosensor research. Biosens. Bioelectron., 181.10.1016/j.bios.2021.113054 ↗
6. Blood glucose prediction model for type 1 diabetes based on artificial neural network with time-domain features10.1016/j.bbe.2020.10.004 ↗
7. Real-time continuous glucose monitoring among participants in the T1D Exchange clinic registry10.2337/dc14-0303 ↗
8. Deep transfer learning: A novel glucose prediction framework for new subjects with type 2 diabetes10.1007/s40747-021-00360-7 ↗
9. Physical activity/exercise and diabetes: A position statement of the American Diabetes Association10.2337/dc16-1728 ↗
10. Why should people with type 1 diabetes exercise regularly?10.1007/s00592-017-0978-x ↗
11. Glucose control during physical activity and exercise using closed loop technology in adults and adolescents with type 1 diabetes10.1016/j.jcjd.2020.06.003 ↗
12. Effects of different types of acute and chronic (training) exercise on glycaemic control in type 1 diabetes mellitus10.1007/BF03262312 ↗
13. Accuracy of continuous glucose monitoring during differing exercise conditions10.1016/j.diabres.2015.11.012 ↗
14. Biagi, L., Bertachi, A., Quirós, C., Giménez, M., Conget, I., Bondia, J., and Vehí, J. (2018). Accuracy of continuous glucose monitoring before, during, and after aerobic and anaerobic exercise in patients with type 1 diabetes mellitus. Biosensors, 8.10.3390/bios8010022 ↗
15. Comparison of Continuous Glucose Monitoring with Capillary Glucose Levels and Dynamics of Accuracy Changes during Moderate-Intensity Aerobic Exercise in Patients with Type 1 Diabetes10.1016/j.jcjd.2018.08.157 ↗
16. Lag time remains with newer real-time continuous glucose monitoring technology during aerobic exercise in adults living with type 1 diabetes10.1089/dia.2018.0364 ↗
17. Accuracy of Two Continuous Glucose Monitoring Devices During Aerobic and High-Intensity Interval Training in Individuals with Type 1 Diabetes10.1089/dia.2023.0535 ↗
18. A review of challenges and opportunities in machine learning for health
19. Shehab, M., Abualigah, L., Shambour, Q., Abu-Hashem, M.A., Shambour, M.K.Y., Alsalibi, A.I., and Gandomi, A.H. (2022). Machine learning in medical applications: A review of state-of-the-art methods. Comput. Biol. Med., 145.10.1016/j.compbiomed.2022.105458 ↗
20. Interpretable data-driven approach based on feature selection methods and GAN-based models for cardiovascular risk prediction in diabetic patients10.1109/ACCESS.2024.3412789 ↗
21. Munoz-Organero, M. (2020). Deep physiological model for blood glucose prediction in T1DM patients. Sensors, 20.10.3390/s20143896 ↗
22. Ability of current machine learning algorithms to predict and detect hypoglycemia in patients with diabetes mellitus: Meta-analysis10.2196/22458 ↗
23. Data-driven modeling and prediction of blood glucose dynamics: Machine learning applications in type 1 diabetes10.1016/j.artmed.2019.07.007 ↗
24. Data-driven blood glucose pattern classification and anomalies detection: Machine-learning applications in type 1 diabetes10.2196/11030 ↗
25. Chushig-Muzo, D., Soguero-Ruiz, C., De Miguel-Bohoyo, P., and Mora-Jiménez, I. (2022). Learning and visualizing chronic latent representations using electronic health records. BioData Min., 15.10.1186/s13040-022-00303-z ↗
26. Artificial intelligence for diabetes management and decision support: Literature review10.2196/10775 ↗
27. Bertachi, A., Viñals, C., Biagi, L., Contreras, I., Vehí, J., Conget, I., and Giménez, M. (2020). Prediction of nocturnal hypoglycemia in adults with type 1 diabetes under multiple daily injections using continuous glucose monitoring and physical activity monitor. Sensors, 20.10.3390/s20061705 ↗
28. van Doorn, W.P., Foreman, Y.D., Schaper, N.C., Savelberg, H.H., Koster, A., van der Kallen, C.J., Wesselius, A., Schram, M.T., Henry, R.M., and Dagnelie, P.C. (2021). Machine learning-based glucose prediction with use of continuous glucose and physical activity monitoring data: The Maastricht Study. PLoS ONE, 16.10.1371/journal.pone.0253125 ↗
29. Cescon, M., Choudhary, D., Pinsker, J.E., Dadlani, V., Church, M.M., Kudva, Y.C., Doyle, F.J., and Dassau, E. (2021). Activity detection and classification from wristband accelerometer data collected on people with type 1 diabetes in free-living conditions. Comput. Biol. Med., 135.10.1016/j.compbiomed.2021.104633 ↗
30. Dénes-Fazakas, L., Siket, M., Szilágyi, L., Kovács, L., and Eigner, G. (2022). Detection of Physical Activity Using Machine Learning Methods Based on Continuous Blood Glucose Monitoring and Heart Rate Signals. Sensors, 22.10.3390/s22218568 ↗
31. Design of a real-time physical activity detection and classification framework for individuals with type 1 diabetes10.1177/19322968231153896 ↗
32. Performance of the Eversense versus the Free Style Libre Flash glucose monitor during exercise and normal daily activities in subjects with type 1 diabetes mellitus10.1136/bmjdrc-2020-001193 ↗
33. Performance of the FreeStyle Libre Flash glucose monitoring system in patients with type 1 and 2 diabetes mellitus10.1136/bmjdrc-2016-000320 ↗
34. Evaluating the clinical accuracy of two continuous glucose sensors using Continuous glucose–error grid analysis10.2337/diacare.28.10.2412 ↗
35. Remeseiro, B., and Bolon-Canedo, V. (2019). A review of feature selection methods in medical applications. Comput. Biol. Med., 112.10.1016/j.compbiomed.2019.103375 ↗
36. A review of feature selection methods on synthetic data10.1007/s10115-012-0487-8 ↗
37. Benchmark for filter methods for feature selection in high-dimensional classification data10.1016/j.csda.2019.106839 ↗
38. Feature selection in machine learning: A new perspective10.1016/j.neucom.2017.11.077 ↗
39. Quantum-enhanced feature selection with forward selection and backward elimination10.1007/s11128-018-1924-8 ↗
40. Wrappers for feature subset selection10.1016/S0004-3702(97)00043-X ↗
41. Battineni, G., Sagaro, G.G., Chinatalapudi, N., and Amenta, F. (2020). Applications of machine learning predictive models in the chronic disease diagnosis. J. Pers. Med., 10.10.3390/jpm10020021 ↗
42. James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013). An Introduction to Statistical Learning, Springer.10.1007/978-1-4614-7138-7 ↗
43. Kramer, O. (2013). Dimensionality Reduction with Unsupervised Nearest Neighbors, Springer.10.1007/978-3-642-38652-7 ↗
44. Support-vector networks10.1007/BF00994018 ↗
45. Williams, G. (2011). Support vector machines. Data Mining with Rattle and R, Springer.10.1007/978-1-4419-9890-3 ↗
46. Tree-based classifier ensembles for early detection method of diabetes: An exploratory study10.1007/s10462-017-9565-3 ↗
47. Hollmann, N., Müller, S., Eggensperger, K., and Hutter, F. (2022). Tabpfn: A transformer that solves small tabular classification problems in a second. arXiv.
48. Chen, T., and Guestrin, C. (2016, January 13–17). Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
49. Shalev-Shwartz, S., and Ben-David, S. (2014). Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press.10.1017/CBO9781107298019 ↗
50. Explainability of Artificial Intelligence Methods, Applications and Challenges: A Comprehensive Survey10.1016/j.ins.2022.10.013 ↗
51. Explanation in artificial intelligence: Insights from the social sciences10.1016/j.artint.2018.07.007 ↗
52. Counterfactuals and causability in explainable artificial intelligence: Theory, algorithms, and applications10.1016/j.inffus.2021.11.003 ↗
53. LINDA-BN: An interpretable probabilistic approach for demystifying black-box predictive models10.1016/j.dss.2021.113561 ↗
54. Lundberg, S.M., and Lee, S.I. (2017, January 4–9). A unified approach to interpreting model predictions. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA.