Physical activity classification in free-living conditions using smartphone accelerometer data and exploration of predicted results

Abstract In recent decades, decreasing physical activity has emerged as one of the major issues affecting human health since people increasingly engaged in sedentary behavior in their homes and workplaces. In physical activity research, using GPS trajectories and advanced GIS methods has a potential for greatly enhancing our understanding of the association between objectively measured moderate and vigorous physical activity and physical and social environments. Relying only on objectively measured physical activity intensity, however, ignores the role of different places and types of physical activity on people's health outcomes. The aim of this study is to propose an approach to classifying physical activity in free-living conditions for physical activity research using published smartphone accelerometer data. Random forest and gradient boosting are used to predict jogging, walking, sitting, and standing. Generated training models based on the two classifiers are tested on accelerometer data collected from the smartphones of two subjects in free-living conditions. GPS trajectories with predicted physical activity labels are visually explored on a map to offer new insight on the assessment of the predicted results of daily activities and the identification of any difference in the results between random forest and gradient boosting. The findings of this study indicate that random forest and gradient boosting enable accurate physical activity classification in free-living conditions. GPS trajectories linked with predicted labels on a map assist the visual exploration of the erroneous prediction in daily activities including in-vehicle activities.

[1]  Gary M. Weiss,et al.  Activity recognition using cell phone accelerometers , 2011, SKDD.

[2]  Johannes Brug,et al.  Socioeconomic differences in lack of recreational walking among older adults: the role of neighbourhood and individual factors , 2009, The international journal of behavioral nutrition and physical activity.

[3]  Jacqueline Kerr,et al.  A Framework for Using GPS Data in Physical Activity and Sedentary Behavior Studies , 2015, Exercise and sport sciences reviews.

[4]  Huiru Zheng,et al.  Activity Monitoring Using a Smart Phone's Accelerometer with Hierarchical Classification , 2010, 2010 Sixth International Conference on Intelligent Environments.

[5]  J. Friedman Greedy function approximation: A gradient boosting machine. , 2001 .

[6]  R Core Team,et al.  R: A language and environment for statistical computing. , 2014 .

[7]  M. Kwan,et al.  Natural and built environmental exposures on children's active school travel: A Dutch global positioning system-based cross-sectional study. , 2016, Health & place.

[8]  M. Kwan The Uncertain Geographic Context Problem , 2012 .

[9]  Andy P. Jones,et al.  What can global positioning systems tell us about the contribution of different types of urban greenspace to children's physical activity? , 2012, Health & place.

[10]  J. Sallis,et al.  Neighborhood-based differences in physical activity: an environment scale evaluation. , 2003, American journal of public health.

[11]  Gert R. G. Lanckriet,et al.  Identifying Active Travel Behaviors in Challenging Environments Using GPS, Accelerometers, and Machine Learning Algorithms , 2014, Front. Public Health.

[12]  D. Cohen,et al.  Non-residential neighborhood exposures suppress neighborhood effects on self-rated health. , 2007, Social science & medicine.

[13]  S. Griffin,et al.  Environmental supportiveness for physical activity in English schoolchildren: a study using Global Positioning Systems , 2009, The international journal of behavioral nutrition and physical activity.

[14]  Ling Bao,et al.  Activity Recognition from User-Annotated Acceleration Data , 2004, Pervasive.

[15]  Davide Anguita,et al.  Human Activity Recognition on Smartphones Using a Multiclass Hardware-Friendly Support Vector Machine , 2012, IWAAL.

[16]  Melvyn W B Zhang,et al.  Harnessing smartphone technologies for stroke care, rehabilitation and beyond , 2015, BMJ Innovations.

[17]  Weihua Sheng,et al.  Motion- and location-based online human daily activity recognition , 2011, Pervasive Mob. Comput..

[18]  Hjp Harry Timmermans,et al.  Transportation mode recognition using GPS and accelerometer data , 2013 .

[19]  P. Welch The use of fast Fourier transform for the estimation of power spectra: A method based on time averaging over short, modified periodograms , 1967 .

[20]  Roger C. M. Ho,et al.  Metabolic syndrome in psychiatry: advances in understanding and management , 2014 .

[21]  Bryan J Boruff,et al.  Using GPS technology to (re)-examine operational definitions of ‘neighbourhood’ in place-based health research , 2012, International Journal of Health Geographics.

[22]  C. Nagel,et al.  The relation between neighborhood built environment and walking activity among older adults. , 2008, American journal of epidemiology.

[23]  Andy Liaw,et al.  Classification and Regression by randomForest , 2007 .

[24]  Kelly R Evenson,et al.  Out and about: association of the built environment with physical activity behaviors of adolescent females. , 2012, Health & place.

[25]  J. Sallis,et al.  Linking objectively measured physical activity with objectively measured urban form: findings from SMARTRAQ. , 2005, American journal of preventive medicine.

[26]  Catherine T. Lawson,et al.  A GPS/GIS method for travel mode detection in New York City , 2012, Comput. Environ. Urban Syst..

[27]  A. Nguyen,et al.  Unsupervised Clustering of Free-Living Human Activities using Ambulatory Accelerometry , 2007, 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[28]  Kelly R Evenson,et al.  Public Parks and Physical Activity Among Adolescent Girls , 2006, Pediatrics.

[29]  B. Popkin,et al.  Inequality in the Built Environment Underlies Key Health Disparities in Physical Activity and Obesity , 2006, Pediatrics.

[30]  Laura Davis,et al.  Mapping the walk to school using accelerometry combined with a global positioning system. , 2010, American journal of preventive medicine.

[31]  Fang Pan,et al.  Effects of Traumatic Stress Induced in the Juvenile Period on the Expression of Gamma-Aminobutyric Acid Receptor Type A Subunits in Adult Rat Brain , 2017, Neural plasticity.

[32]  R. Davey,et al.  Physical activity in relation to urban environments in 14 cities worldwide: a cross-sectional study , 2016, The Lancet.

[33]  Y. Kestens,et al.  Conceptualization and measurement of environmental exposure in epidemiology: accounting for activity space related to daily mobility. , 2013, Health & place.

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

[35]  Charles E Matthews,et al.  The built environment and location-based physical activity. , 2010, American journal of preventive medicine.

[36]  Roger C M Ho,et al.  Conceptualization of an evidence-based smartphone innovation for caregivers and persons living with dementia. , 2016, Technology and health care : official journal of the European Society for Engineering and Medicine.

[37]  A. Herring,et al.  Exploring Associations between Physical Activity and Perceived and Objective Measures of the Built Environment , 2007, Journal of Urban Health.

[38]  Penny Gordon-Larsen,et al.  Associations among active transportation, physical activity, and weight status in young adults. , 2005, Obesity research.

[39]  Michael L. Littman,et al.  Activity Recognition from Accelerometer Data , 2005, AAAI.

[40]  Qiang Yang,et al.  Sensor-Based Abnormal Human-Activity Detection , 2008, IEEE Transactions on Knowledge and Data Engineering.

[41]  Edmund Seto,et al.  A study of community design, greenness, and physical activity in children using satellite, GPS and accelerometer data. , 2012, Health & place.

[42]  Hamed Ketabdar,et al.  System and methodology for using mobile phones in live remote monitoring of physical activities , 2010, 2010 IEEE International Symposium on Technology and Society.

[43]  Andrew P. Jones,et al.  The relationship of physical activity and overweight to objectively measured green space accessibility and use. , 2010, Social science & medicine.

[44]  A. D. Diez Roux,et al.  Neighborhoods and health , 2010, Annals of the New York Academy of Sciences.

[45]  Mei-Po Kwan,et al.  How GIS can help address the uncertain geographic context problem in social science research , 2012, Ann. GIS.

[46]  Melvyn Zhang,et al.  Application of Low-Cost Methodologies for Mobile Phone App Development , 2014, JMIR mHealth and uHealth.

[47]  Harry Timmermans,et al.  Semiautomatic Imputation of Activity Travel Diaries , 2010 .

[48]  J. Brach,et al.  Using activity monitors to measure physical activity in free-living conditions. , 2006, Physical therapy.

[49]  B. Saelens,et al.  Built environment correlates of walking: a review. , 2008, Medicine and science in sports and exercise.

[50]  Xing Xie,et al.  Understanding transportation modes based on GPS data for web applications , 2010, TWEB.

[51]  Fang Pan,et al.  The Effects of High-fat-diet Combined with Chronic Unpredictable Mild Stress on Depression-like Behavior and Leptin/LepRb in Male Rats , 2016, Scientific Reports.

[52]  P S Freedson,et al.  Calibration of the Computer Science and Applications, Inc. accelerometer. , 1998, Medicine and science in sports and exercise.

[53]  A. Lawson,et al.  Neighborhood level risk factors for type 1 diabetes in youth: the SEARCH case-control study , 2012, International Journal of Health Geographics.

[54]  Maria Hagströmer,et al.  Levels and patterns of objectively assessed physical activity--a comparison between Sweden and the United States. , 2010, American journal of epidemiology.

[55]  K. Fox The influence of physical activity on mental well-being. , 1999, Public health nutrition.

[56]  Ahmed Kattan,et al.  Better Physical Activity Classification using Smartphone Acceleration Sensor , 2014, Journal of Medical Systems.

[57]  M. Browning,et al.  Within What Distance Does “Greenness” Best Predict Physical Health? A Systematic Review of Articles with GIS Buffer Analyses across the Lifespan , 2017, International journal of environmental research and public health.

[58]  Paul J. M. Havinga,et al.  Towards Physical Activity Recognition Using Smartphone Sensors , 2013, 2013 IEEE 10th International Conference on Ubiquitous Intelligence and Computing and 2013 IEEE 10th International Conference on Autonomic and Trusted Computing.

[59]  Steven Blair,et al.  Low Cardiorespiratory Fitness and Physical Inactivity as Predictors of Mortality in Men with Type 2 Diabetes , 2000, Annals of Internal Medicine.

[60]  R. Ho,et al.  Exploring the association between childhood and adolescent obesity and depression: a meta‐analysis , 2017, Obesity reviews : an official journal of the International Association for the Study of Obesity.