Activity detection and classification from wristband accelerometer data collected on people with type 1 diabetes in free-living conditions

This paper introduces methods to estimate aspects of physical activity and sedentary behavior from three-axis accelerometer data collected with a wrist-worn device at a sampling rate of 32 [Hz] on adults with type 1 diabetes (T1D) in free-living conditions. In particular, we present two methods able to detect and grade activity based on its intensity and individual fitness as sedentary, mild, moderate or vigorous, and a method that performs activity classification in a supervised learning framework to predict specific user behaviors. Population results for activity level grading show multi-class average accuracy of 99.99%, precision of 98.0 ± 2.2%, recall of 97.9 ± 3.5% and F1 score of 0.9 ± 0.0. As for the specific behavior prediction, our best performing classifier, gave population multi-class average accuracy of 92.43 ± 10.32%, precision of 92.94 ± 9.80%, recall of 92.20 ± 10.16% and F1 score of 92.56 ± 9.94%. Our investigation showed that physical activity and sedentary behavior can be detected, graded and classified with good accuracy and precision from three-axial accelerometer data collected in free-living conditions on people with T1D. This is particularly significant in the context of automated glucose control systems for diabetes, in that the methods we propose have the potential to inform changes in treatment parameters in response to the intensity of physical activity, allowing patients to meet their glycemic targets.

[1]  Eyal Dassau,et al.  Design and Clinical Evaluation of the Interoperable Artificial Pancreas System (iAPS) Smartphone App: Interoperable Components with Modular Design for Progressive Artificial Pancreas Research and Development. , 2019, Diabetes technology & therapeutics.

[2]  Angelo M. Sabatini,et al.  Machine Learning Methods for Classifying Human Physical Activity from On-Body Accelerometers , 2010, Sensors.

[3]  Ali Cinar,et al.  Classification of Physical Activity , 2015, Journal of diabetes science and technology.

[4]  John Staudenmayer,et al.  A method to estimate free-living active and sedentary behavior from an accelerometer. , 2014, Medicine and science in sports and exercise.

[5]  Benyamin Grosman,et al.  Glucose Outcomes with the In-Home Use of a Hybrid Closed-Loop Insulin Delivery System in Adolescents and Adults with Type 1 Diabetes , 2017, Diabetes technology & therapeutics.

[6]  Sriram Chellappan,et al.  Watch-Dog: Detecting Self-Harming Activities From Wrist Worn Accelerometers , 2018, IEEE Journal of Biomedical and Health Informatics.

[7]  Ali Cinar,et al.  Detection and Characterization of Physical Activity and Psychological Stress from Wristband Data , 2020, Signals.

[8]  Tim Dallas,et al.  Feature Selection and Activity Recognition System Using a Single Triaxial Accelerometer , 2014, IEEE Transactions on Biomedical Engineering.

[9]  Leo Breiman,et al.  Random Forests , 2001, Machine Learning.

[10]  Ali Cinar,et al.  Multivariable Adaptive Identification and Control for Artificial Pancreas Systems , 2014, IEEE Transactions on Biomedical Engineering.

[11]  Guy Lapalme,et al.  A systematic analysis of performance measures for classification tasks , 2009, Inf. Process. Manag..

[12]  Claudio Cobelli,et al.  Closed-Loop Artificial Pancreas Systems: Physiological Input to Enhance Next-Generation Devices , 2014, Diabetes Care.

[13]  Eyal Dassau,et al.  Early Detection of Physical Activity for People With Type 1 Diabetes Mellitus , 2015, Journal of diabetes science and technology.

[14]  Nicholas Preiser,et al.  Incorporating an Exercise Detection, Grading, and Hormone Dosing Algorithm Into the Artificial Pancreas Using Accelerometry and Heart Rate , 2015, Journal of diabetes science and technology.

[15]  R. Freeman,et al.  Diabetic autonomic neuropathy. , 2003, Diabetes care.

[16]  4. Lifestyle Management: Standards of Medical Care in Diabetes—2018 , 2017, Diabetes Care.

[17]  F. Chiarelli,et al.  Autonomic Neuropathy in Diabetes Mellitus , 2014, Front. Endocrinol..

[18]  Bo Sheng,et al.  A comparison of different machine learning algorithms, types and placements of activity monitors for physical activity classification , 2020, Measurement.

[19]  Gert R. G. Lanckriet,et al.  Hip and Wrist Accelerometer Algorithms for Free-Living Behavior Classification. , 2016, Medicine and science in sports and exercise.

[20]  Bruce W Bode,et al.  Safety of a Hybrid Closed-Loop Insulin Delivery System in Patients With Type 1 Diabetes. , 2016, JAMA.

[21]  A. Brazeau,et al.  Barriers to Physical Activity Among Patients With Type 1 Diabetes , 2008, Diabetes Care.

[22]  Francesca Annan,et al.  Exercise management in type 1 diabetes: a consensus statement. , 2017, The lancet. Diabetes & endocrinology.

[23]  E. Dassau,et al.  Techniques for Exercise Preparation and Management in Adults with Type 1 Diabetes. , 2016, Canadian journal of diabetes.

[24]  Ali Cinar,et al.  Determining Physical Activity Characteristics From Wristband Data for Use in Automated Insulin Delivery Systems , 2020, IEEE Sensors Journal.

[25]  J. Staudenmayer,et al.  Methods to estimate aspects of physical activity and sedentary behavior from high-frequency wrist accelerometer measurements. , 2015, Journal of applied physiology.

[26]  Matthew N. Ahmadi,et al.  Physical Activity Classification in Youth Using Raw Accelerometer Data from the Hip , 2020 .

[27]  K. Turksoy,et al.  Multivariable adaptive closed-loop control of an artificial pancreas without meal and activity announcement. , 2013, Diabetes technology & therapeutics.

[28]  Ananda Basu,et al.  Exercise, hypoglycemia, and type 1 diabetes. , 2014, Diabetes technology & therapeutics.

[29]  K. Turksoy,et al.  Multivariable Artificial Pancreas for Various Exercise Types and Intensities. , 2018, Diabetes technology & therapeutics.

[30]  Ilkka Korhonen,et al.  Detection of Daily Activities and Sports With Wearable Sensors in Controlled and Uncontrolled Conditions , 2008, IEEE Transactions on Information Technology in Biomedicine.