Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms
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 transporta...
Main Authors: | , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Frontiers Media S.A.
2014-04-01
|
Series: | Frontiers in Public Health |
Subjects: | |
Online Access: | http://journal.frontiersin.org/Journal/10.3389/fpubh.2014.00036/full |
id |
doaj-e171e29e22aa4cca9513a26245250f64 |
---|---|
record_format |
Article |
spelling |
doaj-e171e29e22aa4cca9513a26245250f642020-11-24T23:27:20ZengFrontiers Media S.A.Frontiers in Public Health2296-25652014-04-01210.3389/fpubh.2014.0003680923Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithmsKatherine eEllis0Suneeta eGodbole1Simon eMarshall2Gert eLanckriet3John eStaudenmayer4Jacqueline eKerr5University of California, San DiegoUniversity of California, San DiegoUniversity of California, San DiegoUniversity of California, San DiegoUniversity of Massachusetts, AmherstUniversity of California, San DiegoBackground: 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.http://journal.frontiersin.org/Journal/10.3389/fpubh.2014.00036/fullphysical activityGPSaccelerometeractivity recognitionrandom forestactive travel |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Katherine eEllis Suneeta eGodbole Simon eMarshall Gert eLanckriet John eStaudenmayer Jacqueline eKerr |
spellingShingle |
Katherine eEllis Suneeta eGodbole Simon eMarshall Gert eLanckriet John eStaudenmayer Jacqueline eKerr Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms Frontiers in Public Health physical activity GPS accelerometer activity recognition random forest active travel |
author_facet |
Katherine eEllis Suneeta eGodbole Simon eMarshall Gert eLanckriet John eStaudenmayer Jacqueline eKerr |
author_sort |
Katherine eEllis |
title |
Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms |
title_short |
Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms |
title_full |
Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms |
title_fullStr |
Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms |
title_full_unstemmed |
Identifying active travel behaviors in challenging environments using GPS, accelerometers and machine learning algorithms |
title_sort |
identifying active travel behaviors in challenging environments using gps, accelerometers and machine learning algorithms |
publisher |
Frontiers Media S.A. |
series |
Frontiers in Public Health |
issn |
2296-2565 |
publishDate |
2014-04-01 |
description |
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. |
topic |
physical activity GPS accelerometer activity recognition random forest active travel |
url |
http://journal.frontiersin.org/Journal/10.3389/fpubh.2014.00036/full |
work_keys_str_mv |
AT katherineeellis identifyingactivetravelbehaviorsinchallengingenvironmentsusinggpsaccelerometersandmachinelearningalgorithms AT suneetaegodbole identifyingactivetravelbehaviorsinchallengingenvironmentsusinggpsaccelerometersandmachinelearningalgorithms AT simonemarshall identifyingactivetravelbehaviorsinchallengingenvironmentsusinggpsaccelerometersandmachinelearningalgorithms AT gertelanckriet identifyingactivetravelbehaviorsinchallengingenvironmentsusinggpsaccelerometersandmachinelearningalgorithms AT johnestaudenmayer identifyingactivetravelbehaviorsinchallengingenvironmentsusinggpsaccelerometersandmachinelearningalgorithms AT jacquelineekerr identifyingactivetravelbehaviorsinchallengingenvironmentsusinggpsaccelerometersandmachinelearningalgorithms |
_version_ |
1725552182342713344 |