Santosh Giri, Ruben Brondeel, Tarik El Aarbaoui, Basile Chaix
{"title":"Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data.","authors":"Santosh Giri, Ruben Brondeel, Tarik El Aarbaoui, Basile Chaix","doi":"10.1186/s12942-022-00319-y","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>There has been an increased focus on active transport, but the measurement of active transport is still difficult and error-prone. Sensor data have been used to predict active transport. While heart rate data have very rarely been considered before, this study used random forests (RF) to predict transport modes using Global Positioning System (GPS), accelerometer, and heart rate data and paid attention to methodological issues related to the prediction strategy and post-processing.</p><p><strong>Methods: </strong>The RECORD MultiSensor study collected GPS, accelerometer, and heart rate data over seven days from 126 participants living in the Ile-de-France region. RF models were built to predict transport modes for every minute (ground truth information on modes is from a GPS-based mobility survey), splitting observations between a Training dataset and a Test dataset at the participant level instead at the minute level. Moreover, several window sizes were tested for the post-processing moving average of the predicted transport mode.</p><p><strong>Results: </strong>The minute-level prediction rate of being on trips vs. at a visited location was 90%. Final prediction rates of transport modes ranged from 65% for public transport to 95% for biking. Using minute-level observations from the same participants in the Training and Test sets (as RF spontaneously does) upwardly biases prediction rates. The inclusion of heart rate data improved prediction rates only for biking. A 3 to 5-min bandwidth moving average was optimum for a posteriori homogenization.</p><p><strong>Conclusion: </strong>Heart rate only very slightly contributed to better predictions for specific transport modes. Moreover, our study shows that Training and Test sets must be carefully defined in RF models and that post-processing with carefully chosen moving average windows can improve predictions.</p>","PeriodicalId":48739,"journal":{"name":"International Journal of Health Geographics","volume":"21 1","pages":"19"},"PeriodicalIF":3.0000,"publicationDate":"2022-11-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9667683/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Health Geographics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12942-022-00319-y","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PUBLIC, ENVIRONMENTAL & OCCUPATIONAL HEALTH","Score":null,"Total":0}
引用次数: 0
Abstract
Background: There has been an increased focus on active transport, but the measurement of active transport is still difficult and error-prone. Sensor data have been used to predict active transport. While heart rate data have very rarely been considered before, this study used random forests (RF) to predict transport modes using Global Positioning System (GPS), accelerometer, and heart rate data and paid attention to methodological issues related to the prediction strategy and post-processing.
Methods: The RECORD MultiSensor study collected GPS, accelerometer, and heart rate data over seven days from 126 participants living in the Ile-de-France region. RF models were built to predict transport modes for every minute (ground truth information on modes is from a GPS-based mobility survey), splitting observations between a Training dataset and a Test dataset at the participant level instead at the minute level. Moreover, several window sizes were tested for the post-processing moving average of the predicted transport mode.
Results: The minute-level prediction rate of being on trips vs. at a visited location was 90%. Final prediction rates of transport modes ranged from 65% for public transport to 95% for biking. Using minute-level observations from the same participants in the Training and Test sets (as RF spontaneously does) upwardly biases prediction rates. The inclusion of heart rate data improved prediction rates only for biking. A 3 to 5-min bandwidth moving average was optimum for a posteriori homogenization.
Conclusion: Heart rate only very slightly contributed to better predictions for specific transport modes. Moreover, our study shows that Training and Test sets must be carefully defined in RF models and that post-processing with carefully chosen moving average windows can improve predictions.
期刊介绍:
A leader among the field, International Journal of Health Geographics is an interdisciplinary, open access journal publishing internationally significant studies of geospatial information systems and science applications in health and healthcare. With an exceptional author satisfaction rate and a quick time to first decision, the journal caters to readers across an array of healthcare disciplines globally.
International Journal of Health Geographics welcomes novel studies in the health and healthcare context spanning from spatial data infrastructure and Web geospatial interoperability research, to research into real-time Geographic Information Systems (GIS)-enabled surveillance services, remote sensing applications, spatial epidemiology, spatio-temporal statistics, internet GIS and cyberspace mapping, participatory GIS and citizen sensing, geospatial big data, healthy smart cities and regions, and geospatial Internet of Things and blockchain.