Cargando…
Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack
OBJECTIVE: This study uses machine learning (ML) to develop methods for estimating activity type/intensity using smartphones, to evaluate the accuracy of these models for classifying activity, and to evaluate differences in accuracy between three different wear locations. METHOD: Forty-eight partici...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BMJ Publishing Group
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9086604/ https://www.ncbi.nlm.nih.gov/pubmed/35601137 http://dx.doi.org/10.1136/bmjsem-2021-001242 |
_version_ | 1784704041147695104 |
---|---|
author | Khataeipour, Seyed Javad Anaraki, Javad Rahimipour Bozorgi, Arastoo Rayner, Machel A Basset, Fabien Fuller, Daniel |
author_facet | Khataeipour, Seyed Javad Anaraki, Javad Rahimipour Bozorgi, Arastoo Rayner, Machel A Basset, Fabien Fuller, Daniel |
author_sort | Khataeipour, Seyed Javad |
collection | PubMed |
description | OBJECTIVE: This study uses machine learning (ML) to develop methods for estimating activity type/intensity using smartphones, to evaluate the accuracy of these models for classifying activity, and to evaluate differences in accuracy between three different wear locations. METHOD: Forty-eight participants were recruited to complete a series of activities while carrying Samsung phones in three different locations: backpack, right hand and right pocket. They were asked to sit, lie down, walk and run three Metabolic Equivalent Task (METs), five METs and at seven METs. Raw accelerometer data were collected. We used the R, activity counts package, to calculate activity counts and generated new features based on the raw accelerometer data. We evaluated and compared several ML algorithms; Random Forest (RF), Support Vector Machine, Naïve Bayes, Decision Tree, Linear Discriminant Analysis and k-Nearest Neighbours using the caret package (V.6.0–86). Using the combination of the raw accelerometer data and the computed features leads to high model accuracy. RESULTS: Using raw accelerometer data, RF models achieved an accuracy of 92.90% for the right pocket location, 89% for the right hand location and 90.8% for the backpack location. Using activity counts, RF models achieved an accuracy of 51.4% for the right pocket location, 48.5% for the right hand location and 52.1% for the backpack location. CONCLUSION: Our results suggest that using smartphones to measure physical activity is accurate for estimating activity type/intensity and ML methods, such as RF with feature engineering techniques can accurately classify physical activity intensity levels in laboratory settings. |
format | Online Article Text |
id | pubmed-9086604 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | BMJ Publishing Group |
record_format | MEDLINE/PubMed |
spelling | pubmed-90866042022-05-20 Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack Khataeipour, Seyed Javad Anaraki, Javad Rahimipour Bozorgi, Arastoo Rayner, Machel A Basset, Fabien Fuller, Daniel BMJ Open Sport Exerc Med Original Research OBJECTIVE: This study uses machine learning (ML) to develop methods for estimating activity type/intensity using smartphones, to evaluate the accuracy of these models for classifying activity, and to evaluate differences in accuracy between three different wear locations. METHOD: Forty-eight participants were recruited to complete a series of activities while carrying Samsung phones in three different locations: backpack, right hand and right pocket. They were asked to sit, lie down, walk and run three Metabolic Equivalent Task (METs), five METs and at seven METs. Raw accelerometer data were collected. We used the R, activity counts package, to calculate activity counts and generated new features based on the raw accelerometer data. We evaluated and compared several ML algorithms; Random Forest (RF), Support Vector Machine, Naïve Bayes, Decision Tree, Linear Discriminant Analysis and k-Nearest Neighbours using the caret package (V.6.0–86). Using the combination of the raw accelerometer data and the computed features leads to high model accuracy. RESULTS: Using raw accelerometer data, RF models achieved an accuracy of 92.90% for the right pocket location, 89% for the right hand location and 90.8% for the backpack location. Using activity counts, RF models achieved an accuracy of 51.4% for the right pocket location, 48.5% for the right hand location and 52.1% for the backpack location. CONCLUSION: Our results suggest that using smartphones to measure physical activity is accurate for estimating activity type/intensity and ML methods, such as RF with feature engineering techniques can accurately classify physical activity intensity levels in laboratory settings. BMJ Publishing Group 2022-05-09 /pmc/articles/PMC9086604/ /pubmed/35601137 http://dx.doi.org/10.1136/bmjsem-2021-001242 Text en © Author(s) (or their employer(s)) 2022. Re-use permitted under CC BY-NC. No commercial re-use. See rights and permissions. Published by BMJ. https://creativecommons.org/licenses/by-nc/4.0/This is an open access article distributed in accordance with the Creative Commons Attribution Non Commercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited, appropriate credit is given, any changes made indicated, and the use is non-commercial. See: http://creativecommons.org/licenses/by-nc/4.0/ (https://creativecommons.org/licenses/by-nc/4.0/) . |
spellingShingle | Original Research Khataeipour, Seyed Javad Anaraki, Javad Rahimipour Bozorgi, Arastoo Rayner, Machel A Basset, Fabien Fuller, Daniel Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
title | Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
title_full | Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
title_fullStr | Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
title_full_unstemmed | Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
title_short | Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
title_sort | predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack |
topic | Original Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9086604/ https://www.ncbi.nlm.nih.gov/pubmed/35601137 http://dx.doi.org/10.1136/bmjsem-2021-001242 |
work_keys_str_mv | AT khataeipourseyedjavad predictinglyingsittingandwalkingatdifferentintensitiesusingsmartphoneaccelerometersatthreedifferentwearlocationshandspantpocketsbackpack AT anarakijavadrahimipour predictinglyingsittingandwalkingatdifferentintensitiesusingsmartphoneaccelerometersatthreedifferentwearlocationshandspantpocketsbackpack AT bozorgiarastoo predictinglyingsittingandwalkingatdifferentintensitiesusingsmartphoneaccelerometersatthreedifferentwearlocationshandspantpocketsbackpack AT raynermachel predictinglyingsittingandwalkingatdifferentintensitiesusingsmartphoneaccelerometersatthreedifferentwearlocationshandspantpocketsbackpack AT abassetfabien predictinglyingsittingandwalkingatdifferentintensitiesusingsmartphoneaccelerometersatthreedifferentwearlocationshandspantpocketsbackpack AT fullerdaniel predictinglyingsittingandwalkingatdifferentintensitiesusingsmartphoneaccelerometersatthreedifferentwearlocationshandspantpocketsbackpack |