Predicting lying, sitting and walking at different intensities using smartphone accelerometers at three different wear locations: hands, pant pockets, backpack.

Keywords

Journal

BMJ open sport & exercise medicine
ISSN: 2055-7647
Titre abrégé: BMJ Open Sport Exerc Med
Pays: England
ID NLM: 101681007

Informations de publication

Date de publication:
2022
Historique:
accepted: 02 04 2022
entrez: 23 5 2022
pubmed: 24 5 2022
medline: 24 5 2022
Statut: epublish

Résumé

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. 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. 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. 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.

Identifiants

pubmed: 35601137
doi: 10.1136/bmjsem-2021-001242
pii: bmjsem-2021-001242
pmc: PMC9086604
doi:

Types de publication

Journal Article

Langues

eng

Pagination

e001242

Informations de copyright

© 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.

Déclaration de conflit d'intérêts

Competing interests: None declared.

Références

J Appl Physiol (1985). 2006 Apr;100(4):1324-31
pubmed: 16322367
Med Sci Sports Exerc. 2008 Jun;40(6):1188; author reply 1189
pubmed: 18496095
Med Sci Sports Exerc. 2012 Nov;44(11):2138-46
pubmed: 22617402
BMC Public Health. 2014 May 28;14:519
pubmed: 24886319
Med Sci Sports Exerc. 2017 Nov;49(11):2351-2360
pubmed: 28604558
Med Sci Sports Exerc. 2015 Aug;47(8):1735-46
pubmed: 25494392
Int J Epidemiol. 2020 Aug 1;49(4):1392-1396
pubmed: 32617564
J Clin Epidemiol. 1990;43(9):941-7
pubmed: 2213082
Physiol Meas. 2014 Nov;35(11):2191-203
pubmed: 25340969
J Phys Act Health. 2020 Feb 8;17(3):360-383
pubmed: 32035416
IEEE J Biomed Health Inform. 2017 Jan;21(1):56-64
pubmed: 28026792
J Appl Physiol (1985). 2015 Aug 15;119(4):396-403
pubmed: 26112238
Lancet. 2012 Jul 21;380(9838):219-29
pubmed: 22818936
Med Sci Sports Exerc. 2006 Sep;38(9):1626-34
pubmed: 16960524
Med Sci Sports Exerc. 2005 Nov;37(11 Suppl):S512-22
pubmed: 16294114
Sports Med. 2017 Sep;47(9):1821-1845
pubmed: 28303543
Gait Posture. 2019 Feb;68:285-299
pubmed: 30579037
Physiol Behav. 2017 Jul 1;176:139-148
pubmed: 28363838
Med Sci Sports Exerc. 2016 May;48(5):941-50
pubmed: 26673129

Auteurs

Seyed Javad Khataeipour (SJ)

Department of Computer Science, Faculty of Science, Memorial University of Newfoundland, St. John's, Newfoundland, Canada.

Javad Rahimipour Anaraki (JR)

Institute of Biomedical Engineering, University of Toronto, Toronto, Ontario, Canada.

Arastoo Bozorgi (A)

Department of Computer Science, Faculty of Science, Memorial University of Newfoundland, St. John's, Newfoundland, Canada.

Machel Rayner (M)

School of Human Kinetics and Recreation, Memorial University of Newfoundland, St. John's, Newfoundland, Canada.

Fabien A Basset (F)

School of Human Kinetics and Recreation, Memorial University of Newfoundland, St. John's, Newfoundland, Canada.

Daniel Fuller (D)

Department of Computer Science, Faculty of Science, Memorial University of Newfoundland, St. John's, Newfoundland, Canada.
School of Human Kinetics and Recreation, Memorial University of Newfoundland, St. John's, Newfoundland, Canada.

Classifications MeSH