Cargando…
Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data
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...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9667683/ https://www.ncbi.nlm.nih.gov/pubmed/36384535 http://dx.doi.org/10.1186/s12942-022-00319-y |
_version_ | 1784831770759266304 |
---|---|
author | Giri, Santosh Brondeel, Ruben El Aarbaoui, Tarik Chaix, Basile |
author_facet | Giri, Santosh Brondeel, Ruben El Aarbaoui, Tarik Chaix, Basile |
author_sort | Giri, Santosh |
collection | PubMed |
description | 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12942-022-00319-y. |
format | Online Article Text |
id | pubmed-9667683 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-96676832022-11-17 Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data Giri, Santosh Brondeel, Ruben El Aarbaoui, Tarik Chaix, Basile Int J Health Geogr Research 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12942-022-00319-y. BioMed Central 2022-11-16 /pmc/articles/PMC9667683/ /pubmed/36384535 http://dx.doi.org/10.1186/s12942-022-00319-y Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Research Giri, Santosh Brondeel, Ruben El Aarbaoui, Tarik Chaix, Basile Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data |
title | Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data |
title_full | Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data |
title_fullStr | Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data |
title_full_unstemmed | Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data |
title_short | Application of machine learning to predict transport modes from GPS, accelerometer, and heart rate data |
title_sort | application of machine learning to predict transport modes from gps, accelerometer, and heart rate data |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9667683/ https://www.ncbi.nlm.nih.gov/pubmed/36384535 http://dx.doi.org/10.1186/s12942-022-00319-y |
work_keys_str_mv | AT girisantosh applicationofmachinelearningtopredicttransportmodesfromgpsaccelerometerandheartratedata AT brondeelruben applicationofmachinelearningtopredicttransportmodesfromgpsaccelerometerandheartratedata AT elaarbaouitarik applicationofmachinelearningtopredicttransportmodesfromgpsaccelerometerandheartratedata AT chaixbasile applicationofmachinelearningtopredicttransportmodesfromgpsaccelerometerandheartratedata |