Identifying Active Travel Behaviors in Challenging Environments Using GPS, Accelerometers, and Machine Learning Algorithms
Authors:
Open Access
- 22 April 2014
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Public Health
- Vol. 2, 36
Abstract
Background: Active travel is an important area in physical activity research, but objective measurement of active travel is still difficult. Automated methods to measure travel behaviors will improve research in this area. In this paper we present a supervised machine learning method for transportation mode prediction from GPS and accelerometer data. Methods: We collected a dataset of about 150 hours of GPS and accelerometer data from two research assistants following a protocol of prescribed trips consisting of five activities: bicycling, riding in a vehicle, walking, sitting, and standing. We extracted 49 features from 1-minute windows of this data. We compared the performance of several machine learning algorithms and chose a random forest algorithm to classify the transportation mode. We used a moving average output filter to smooth the output predictions over time. Results: The random forest algorithm achieved 89.8% cross-validated accuracy on this dataset. Adding the moving average filter to smooth output predictions increased the cross-validated accuracy to 91.9%. Conclusions: Machine learning methods are a viable approach for automating measurement of active travel, particularly for measuring travel activities that traditional accelerometer data processing methods misclassify, such as bicycling and vehicle travel.Keywords
This publication has 20 references indexed in Scilit:
- Is active travel associated with greater physical activity? The contribution of commuting and non-commuting active travel to total physical activity in adultsPreventive Medicine, 2012
- Public Health Perspectives on Household Travel SurveysAmerican Journal of Preventive Medicine, 2010
- Examining commute routes: applications of GIS and GPS technologyEnvironmental Health and Preventive Medicine, 2010
- Deriving and validating trip purposes and travel modes for multi-day GPS-based travel surveys: A large-scale application in the NetherlandsTransportation Research Part C: Emerging Technologies, 2009
- Processing Raw Data from Global Positioning Systems without Additional InformationTransportation Research Record: Journal of the Transportation Research Board, 2009
- Walking, Cycling, and Obesity Rates in Europe, North America, and AustraliaJournal of Physical Activity and Health, 2008
- Assessing the accuracy of the Sydney Household Travel Survey with GPSTransportation, 2007
- Increasing the accuracy of trip rate information from passive multi-day GPS travel datasets: Automatic trip end identification issuesTransportation Research Part A: Policy and Practice, 2007
- A Trip Reconstruction Tool for GPS-based Personal Travel SurveysTransportation Planning and Technology, 2005
- Active Commuting to SchoolSports Medicine, 2001