Development and Validation of Multivariable Prediction Algorithms to Estimate Future Walking Behavior in Adults: Retrospective Cohort Study.
JITAI
MRT
application
classification
development
female
just-in-time adaptive intervention
mHealth
microrandomized trial
mobile health
multilayered perceptron
physical activity
prediction
prevention
validation
walk
Journal
JMIR mHealth and uHealth
ISSN: 2291-5222
Titre abrégé: JMIR Mhealth Uhealth
Pays: Canada
ID NLM: 101624439
Informations de publication
Date de publication:
27 01 2023
27 01 2023
Historique:
received:
15
11
2022
accepted:
05
01
2023
revised:
04
01
2023
entrez:
27
1
2023
pubmed:
28
1
2023
medline:
1
2
2023
Statut:
epublish
Résumé
Physical inactivity is associated with numerous health risks, including cancer, cardiovascular disease, type 2 diabetes, increased health care expenditure, and preventable, premature deaths. The majority of Americans fall short of clinical guideline goals (ie, 8000-10,000 steps per day). Behavior prediction algorithms could enable efficacious interventions to promote physical activity by facilitating delivery of nudges at appropriate times. The aim of this paper is to develop and validate algorithms that predict walking (ie, >5 min) within the next 3 hours, predicted from the participants' previous 5 weeks' steps-per-minute data. We conducted a retrospective, closed cohort, secondary analysis of a 6-week microrandomized trial of the HeartSteps mobile health physical-activity intervention conducted in 2015. The prediction performance of 6 algorithms was evaluated, as follows: logistic regression, radial-basis function support vector machine, eXtreme Gradient Boosting (XGBoost), multilayered perceptron (MLP), decision tree, and random forest. For the MLP, 90 random layer architectures were tested for optimization. Prior 5-week hourly walking data, including missingness, were used for predictors. Whether the participant walked during the next 3 hours was used as the outcome. K-fold cross-validation (K=10) was used for the internal validation. The primary outcome measures are classification accuracy, the Mathew correlation coefficient, sensitivity, and specificity. The total sample size included 6 weeks of data among 44 participants. Of the 44 participants, 31 (71%) were female, 26 (59%) were White, 36 (82%) had a college degree or more, and 15 (34%) were married. The mean age was 35.9 (SD 14.7) years. Participants (n=3, 7%) who did not have enough data (number of days <10) were excluded, resulting in 41 (93%) participants. MLP with optimized layer architecture showed the best performance in accuracy (82.0%, SD 1.1), whereas XGBoost (76.3%, SD 1.5), random forest (69.5%, SD 1.0), support vector machine (69.3%, SD 1.0), and decision tree (63.6%, SD 1.5) algorithms showed lower performance than logistic regression (77.2%, SD 1.2). MLP also showed superior overall performance to all other tried algorithms in Mathew correlation coefficient (0.643, SD 0.021), sensitivity (86.1%, SD 3.0), and specificity (77.8%, SD 3.3). Walking behavior prediction models were developed and validated. MLP showed the highest overall performance of all attempted algorithms. A random search for optimal layer structure is a promising approach for prediction engine development. Future studies can test the real-world application of this algorithm in a "smart" intervention for promoting physical activity.
Sections du résumé
BACKGROUND
Physical inactivity is associated with numerous health risks, including cancer, cardiovascular disease, type 2 diabetes, increased health care expenditure, and preventable, premature deaths. The majority of Americans fall short of clinical guideline goals (ie, 8000-10,000 steps per day). Behavior prediction algorithms could enable efficacious interventions to promote physical activity by facilitating delivery of nudges at appropriate times.
OBJECTIVE
The aim of this paper is to develop and validate algorithms that predict walking (ie, >5 min) within the next 3 hours, predicted from the participants' previous 5 weeks' steps-per-minute data.
METHODS
We conducted a retrospective, closed cohort, secondary analysis of a 6-week microrandomized trial of the HeartSteps mobile health physical-activity intervention conducted in 2015. The prediction performance of 6 algorithms was evaluated, as follows: logistic regression, radial-basis function support vector machine, eXtreme Gradient Boosting (XGBoost), multilayered perceptron (MLP), decision tree, and random forest. For the MLP, 90 random layer architectures were tested for optimization. Prior 5-week hourly walking data, including missingness, were used for predictors. Whether the participant walked during the next 3 hours was used as the outcome. K-fold cross-validation (K=10) was used for the internal validation. The primary outcome measures are classification accuracy, the Mathew correlation coefficient, sensitivity, and specificity.
RESULTS
The total sample size included 6 weeks of data among 44 participants. Of the 44 participants, 31 (71%) were female, 26 (59%) were White, 36 (82%) had a college degree or more, and 15 (34%) were married. The mean age was 35.9 (SD 14.7) years. Participants (n=3, 7%) who did not have enough data (number of days <10) were excluded, resulting in 41 (93%) participants. MLP with optimized layer architecture showed the best performance in accuracy (82.0%, SD 1.1), whereas XGBoost (76.3%, SD 1.5), random forest (69.5%, SD 1.0), support vector machine (69.3%, SD 1.0), and decision tree (63.6%, SD 1.5) algorithms showed lower performance than logistic regression (77.2%, SD 1.2). MLP also showed superior overall performance to all other tried algorithms in Mathew correlation coefficient (0.643, SD 0.021), sensitivity (86.1%, SD 3.0), and specificity (77.8%, SD 3.3).
CONCLUSIONS
Walking behavior prediction models were developed and validated. MLP showed the highest overall performance of all attempted algorithms. A random search for optimal layer structure is a promising approach for prediction engine development. Future studies can test the real-world application of this algorithm in a "smart" intervention for promoting physical activity.
Identifiants
pubmed: 36705954
pii: v11i1e44296
doi: 10.2196/44296
pmc: PMC9919492
doi:
Types de publication
Journal Article
Research Support, N.I.H., Extramural
Langues
eng
Sous-ensembles de citation
IM
Pagination
e44296Informations de copyright
©Junghwan Park, Gregory J Norman, Predrag Klasnja, Daniel E Rivera, Eric Hekler. Originally published in JMIR mHealth and uHealth (https://mhealth.jmir.org), 27.01.2023.
Références
Artif Intell Med. 2015 Nov;65(3):219-27
pubmed: 26319694
IEEE Trans Syst Man Cybern B Cybern. 2009 Oct;39(5):1292-307
pubmed: 19342351
JMIR Med Inform. 2021 Feb 11;9(2):e24572
pubmed: 33534723
Health Educ Behav. 2004 Apr;31(2):143-64
pubmed: 15090118
Am J Prev Med. 2007 Oct;33(4):336-345
pubmed: 17888860
Am Psychol. 2002 Sep;57(9):705-17
pubmed: 12237980
Health Psychol. 2015 Dec;34S:1209-19
pubmed: 26651462
Health Educ Q. 1995 May;22(2):190-200
pubmed: 7622387
Med Sci Sports Exerc. 2001 Jun;33(6 Suppl):S530-50; discussion S609-10
pubmed: 11427781
Hastings Cent Rep. 2019 Jan;49(1):15-21
pubmed: 30790315
JAMA. 2018 Nov 20;320(19):2020-2028
pubmed: 30418471
Biomed Eng Online. 2017 Nov 21;16(1):132
pubmed: 29157240
N Engl J Med. 2019 Aug 15;381(7):668-676
pubmed: 31412182
Natl Health Stat Report. 2018 Jun;(112):1-22
pubmed: 30248007
Annu Rev Psychol. 2004;55:745-74
pubmed: 14744233
JAMA. 2018 Sep 18;320(11):1101-1102
pubmed: 30178065
Lancet. 2016 Sep 24;388(10051):1311-24
pubmed: 27475266
CMAJ. 2006 Mar 14;174(6):801-9
pubmed: 16534088
Ann Behav Med. 2019 May 3;53(6):573-582
pubmed: 30192907
BMC Genomics. 2020 Jan 2;21(1):6
pubmed: 31898477
JAMA Psychiatry. 2014 May;71(5):566-72
pubmed: 24671165
Nat Genet. 2012 Jan 27;44(2):127-30
pubmed: 22281773
Schizophr Bull. 2014 Nov;40(6):1244-53
pubmed: 24609454
Ann Behav Med. 2018 May 18;52(6):446-462
pubmed: 27663578
Prev Med. 2009 Oct;49(4):280-2
pubmed: 19463850
JMIR Mhealth Uhealth. 2021 Jun 9;9(6):e22587
pubmed: 34106073
Ann Intern Med. 2015 May 19;162(10):735-6
pubmed: 25984857
Int J Behav Nutr Phys Act. 2019 Apr 3;16(1):31
pubmed: 30943983
Evol Comput. 2002 Summer;10(2):99-127
pubmed: 12180173
PLoS One. 2017 Jun 2;12(6):e0177678
pubmed: 28574989
JMIR Form Res. 2022 Apr 7;6(4):e34662
pubmed: 35389348
Transl Behav Med. 2011 Mar;1(1):53-71
pubmed: 21796270