Design of a Real-Time Physical Activity Detection and Classification Framework for Individuals With Type 1 Diabetes
- 17 February 2023
- journal article
- research article
- Published by SAGE Publications in Journal of Diabetes Science and Technology
- Vol. 18 (5) , 1146-1156
Abstract
Background: Managing glycemia during and after exercise events in type 1 diabetes (T1D) is challenging since these events can have wide-ranging effects on glycemia depending on the event timing, type, intensity. To this end, advanced physical activity-informed technologies can be beneficial for improving glucose control. Methods: We propose a real-time physical activity detection and classification framework, which builds upon random forest models. This module automatically detects exercise sessions and predicts the activity type and intensity from tri-axial accelerometer, heart rate, and continuous glucose monitoring records. Results: Data from 19 adults with T1D who performed structured sessions of either aerobic, resistance, or high-intensity interval exercise at varying times of day were used to train and test this framework. The exercise onset and completion were both predicted within 1 minute with an average accuracy of 81% and 78%, respectively. Activity type and intensity were identified within 2.38 minutes and from the exercise onset. On participants assigned to the test set, the average accuracy for activity type and intensity classification was 74% and 73%, respectively, if exercise was announced. For unannounced exercise events, the classification accuracy was 65% for the activity type and 70% for its intensity. Conclusions: The proposed module showed high performance in detection and classification of exercise in real-time within a minute of exercise onset. Integration of this module into insulin therapy decisions can help facilitate glucose management around physical activity.Keywords
Funding Information
- Korea Institute for Advancement of Technology (P0017304)
- Leona M. and Harry B. Helmsley Charitable Trust (T1DEXI)
This publication has 32 references indexed in Scilit:
- Exercise management in type 1 diabetes: a consensus statementThe Lancet Diabetes & Endocrinology, 2017
- Physical Activity/Exercise and Diabetes: A Position Statement of the American Diabetes AssociationDiabetes Care, 2016
- Classification of Physical ActivityJournal of Diabetes Science and Technology, 2015
- Incorporating an Exercise Detection, Grading, and Hormone Dosing Algorithm Into the Artificial Pancreas Using Accelerometry and Heart RateJournal of Diabetes Science and Technology, 2015
- Early Detection of Physical Activity for People With Type 1 Diabetes MellitusJournal of Diabetes Science and Technology, 2015
- A random forest classifier for the prediction of energy expenditure and type of physical activity from wrist and hip accelerometersPhysiological Measurement, 2014
- Identifying Active Travel Behaviors in Challenging Environments Using GPS, Accelerometers, and Machine Learning AlgorithmsFrontiers in Public Health, 2014
- Comparison of Physical Activity Sensors and Heart Rate Monitoring for Real-Time Activity Detection in Type 1 Diabetes and Control SubjectsDiabetes Technology & Therapeutics, 2013
- An artificial neural network to estimate physical activity energy expenditure and identify physical activity type from an accelerometerJournal of Applied Physiology, 2009
- Barriers to Physical Activity Among Patients With Type 1 DiabetesDiabetes Care, 2008