Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Nov 7;22(21):8568.
doi: 10.3390/s22218568.

Detection of Physical Activity Using Machine Learning Methods Based on Continuous Blood Glucose Monitoring and Heart Rate Signals

Affiliations

Detection of Physical Activity Using Machine Learning Methods Based on Continuous Blood Glucose Monitoring and Heart Rate Signals

Lehel Dénes-Fazakas et al. Sensors (Basel). .

Abstract

Non-coordinated physical activity may lead to hypoglycemia, which is a dangerous condition for diabetic people. Decision support systems related to type 1 diabetes mellitus (T1DM) still lack the capability of automated therapy modification by recognizing and categorizing the physical activity. Further, this desired adaptive therapy should be achieved without increasing the administrative load, which is already high for the diabetic community. These requirements can be satisfied by using artificial intelligence-based solutions, signals collected by wearable devices, and relying on the already available data sources, such as continuous glucose monitoring systems. In this work, we focus on the detection of physical activity by using a continuous glucose monitoring system and a wearable sensor providing the heart rate-the latter is accessible even in the cheapest wearables. Our results show that the detection of physical activity is possible based on these data sources, even if only low-complexity artificial intelligence models are deployed. In general, our models achieved approximately 90% accuracy in the detection of physical activity.

Keywords: diabetes mellitus; machine learning; physical activity detection.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
The ways of data extraction from the Ohio T1DM dataset for a given patient. Black arrows indicate 24 h long blocks according to the time stamps, midnight to midnight. Legend: blue blocks—CGM data available, exercise reported, no HR data available; green blocks—CGM data available, exercise reported, HR data available; transparent orange area—self-reported exercise, no CGM data available; transparent red area—probably an exercise event happened, but it was not reported.
Figure 2
Figure 2
Abstraction of feature extraction during operation. The v, vp, vpp, and ap features originate from the d-kind features; thus, these are not listed here. In the case of the dpi, only the first four values are represented as a demonstration; however, all sampled values are considered from the window during operation.
Figure 3
Figure 3
ROC curve of tested ML models for Ohio T1DM dataset using glucose features only.
Figure 4
Figure 4
ROC curves of various ML models obtained on D1namo dataset using glucose features only.
Figure 5
Figure 5
ROC curves of models on Ohio T1DM dataset using both blood glucose and heart rate features.
Figure 6
Figure 6
ROC curves of models obtained on D1namo dataset with blood glucose and heart rate features.
Figure 7
Figure 7
ROC curve of models on Ohio T1DM is the training data; the D1namo is the test with glucose and heart rate feature.
Figure 8
Figure 8
AUC of models in all use-cases—test results.

Similar articles

Cited by

References

    1. Deng D., Yan N. GLUT, SGLT, and SWEET: Structural and mechanistic investigations of the glucose transporters. Protein Sci. 2016;25:546–558. doi: 10.1002/pro.2858. - DOI - PMC - PubMed
    1. Holt R.I., Cockram C., Flyvbjerg A., Goldstein B.J. Textbook of Diabetes. John Wiley & Sons; Chichester, UK: 2017.
    1. Bird S.R., Hawley J.A. Update on the effects of physical activity on insulin sensitivity in humans. BMJ Open Sport Exerc. Med. 2017;2:e000143. doi: 10.1136/bmjsem-2016-000143. - DOI - PMC - PubMed
    1. Zhao C., Yang C.F., Tang S., Wai C., Zhang Y., Portillo M.P., Paoli P., Wu Y.J., Cheang W.S., Liu B., et al. Regulation of glucose metabolism by bioactive phytochemicals for the management of type 2 diabetes mellitus. Crit. Rev. Food Sci. Nutr. 2019;59:830–847. doi: 10.1080/10408398.2018.1501658. - DOI - PubMed
    1. Richter E.A., Hargreaves M. Exercise, GLUT4, and skeletal muscle glucose uptake. Physiol. Rev. 2013 doi: 10.1152/physrev.00038.2012. - DOI - PubMed