| Literature DB >> 34346890 |
Ruairi O'Driscoll1, Jake Turicchi1, Mark Hopkins2, Cristiana Duarte1, Graham W Horgan3, Graham Finlayson1, R James Stubbs1.
Abstract
BACKGROUND: Accurate solutions for the estimation of physical activity and energy expenditure at scale are needed for a range of medical and health research fields. Machine learning techniques show promise in research-grade accelerometers, and some evidence indicates that these techniques can be applied to more scalable commercial devices.Entities:
Keywords: accelerometers; bioenergetics; energy balance; machine learning; validation
Mesh:
Year: 2021 PMID: 34346890 PMCID: PMC8374660 DOI: 10.2196/23938
Source DB: PubMed Journal: JMIR Mhealth Uhealth ISSN: 2291-5222 Impact factor: 4.773
Characteristics of the included sample.
| Study | Participants | Age (years), mean (SD) | Height (cm), mean (SD) | Weighta (kg), mean (SD) | FFMb (kg), mean (SD) | FMc (kg), mean (SD) | FM (%), mean (SD) | RMRd (kcal/d), mean (SD) | ||||||||
|
| Total | Female, n (%) |
|
|
|
|
|
|
| |||||||
| 1 | 59 | 41 (69) | 44.4 (14.1) | 167.5 (8.9) | 75.7 (13.6) | 49.8 (8.9) | 24.8 (10.7) | 32.5 (10.3) | 1581.8 (280.4) | |||||||
| 2a | 30 | 13 (43) | 31.9 (10.2) | 171.9 (9.2) | 70.6 (12.9) | 55 (12.6) | 15.1 (7.1) | 21.7 (8.7) | 1769.3 (435.8) | |||||||
aIn study 2, resting metabolic rate and body composition were estimated at a subsequent visit to the laboratory and therefore weight is not the sum of fat mass and fat-free mass; in study 1, body composition was not available for all subjects and therefore weight is not the sum of fat mass and fat-free mass.
bFFM: fat-free mass.
cFM: fat mass.
dRMR: resting metabolic rate.
Predictive features used in each of the models.
| Devicea and category | Features | |
|
| ||
|
| Subject features | Gender, age, height, weight, and sitting heart rate |
|
| Acceleration features | Steps features: |
|
| steps mean, steps difference (t-1, t-2, t-3, t-4, and t-5 minutes); steps mean and SD of last 5 minutes | |
|
| Physiological features | Fitbit heart rate features: |
|
| Fitbit heart rate above sitting heart rate, Fitbit heart rate percentage of maximum heart rate, Fitbit heart rate mean, Fitbit heart rate difference (t-1, t-2, t-3, t-4, and t-5 minutes), and Fitbit heart rate mean and SD of last 5 minutes | |
|
| ||
|
| Subject features | Gender, age, height, and weight |
|
| Acceleration features | X, Y, Z features: |
|
| Physiological features | Polar heart rate features: |
|
| ||
|
| Subject features | Gender, age, height, and weight |
|
| Acceleration features | X, Y, Z features: |
|
| Physiological features | Polar heart rate features: |
aFor each device, the subject characteristics, acceleration features, and physiological features are listed.
Leave-one-subject-out cross-validation results for each of the regression models.
| Model | Minutesa | Participants, n (%) | Predicted (METsb), mean (SD) | True (METs), mean (SD) | MAPEc | RMSEd | CCCe (95% CI) | Equivalence |
| SWAf manufacturer | 5533 | 88 (99) | 3.8 (2.49) | 4.04 (2.59) | 34.54 | 1.86 | 0.73 (0.72-0.74) | —g |
| AGh gradient boost | 5517 | 87 (98) | 4.04 (2.35) | 4.04 (2.59) | 17.88 | 0.93 | 0.93 (0.93-0.93) | Equivalenti |
| AG neural network | 5517 | 87 (98) | 4.05 (2.55) | 4.04 (2.59) | 21.65 | 1.14 | 0.9 (0.9-0.91) | Equivalent |
| AG random forest | 5517 | 87 (98) | 4.05 (2.32) | 4.04 (2.59) | 18.36 | 0.94 | 0.93 (0.92-0.93) | Equivalent |
| FBj gradient boost | 5448 | 86 (97) | 4.03 (2.19) | 4.01 (2.58) | 30.22 | 1.36 | 0.84 (0.83-0.84) | Equivalent |
| FB neural network | 5448 | 86 (97) | 4.02 (2.28) | 4.01 (2.58) | 32.27 | 1.45 | 0.82 (0.82-0.83) | Equivalent |
| FB random forest | 5448 | 86 (97) | 4.03 (2.14) | 4.01 (2.58) | 30.10 | 1.36 | 0.84 (0.83-0.84) | Equivalent |
| SWA gradient boost | 5492 | 87 (98) | 4.04 (2.39) | 4.04 (2.6) | 17.83 | 0.91 | 0.93 (0.93-0.94) | Equivalent |
| SWA neural network | 5492 | 87 (98) | 4.05 (2.47) | 4.04 (2.6) | 19.56 | 0.96 | 0.93 (0.92-0.93) | Equivalent |
| SWA random forest | 5492 | 87 (98) | 4.05 (2.35) | 4.04 (2.6) | 18.25 | 0.92 | 0.93 (0.93-0.93) | Equivalent |
aMinutes refers to the number of minutes the algorithms are validated on.
bMETs: metabolic equivalents.
cMAPE: mean absolute percentage error.
dRMSE: root mean square error.
eCCC: concordance correlation coefficient CCC is presented with 95% CIs.
fSWA: SenseWear.
gThe model is not statistically equivalent to the criterion.
hAG: ActiGraph.
iEquivalent implies that the model is statistically equivalent to the criterion.
jFB: Fitbit.
Figure 1Boxplots demonstrating the root mean square error overall for each of the tested models. AG: ActiGraph; FB: Fitbit; RMSE: root mean square error; SWA: SenseWear.
Figure 2Boxplots demonstrating the root mean square error for each of the tested models in specific activity categories. ADL: activities of daily living; AG: ActiGraph; FB: Fitbit; RMSE: root mean square error; SWA: SenseWear.
Figure 3A time series plot showing metabolic equivalents predicted by the models tested in this study (colored solid line) and indirect calorimeter (black dashed line), for a single subject in study 2. The x-axis represents the measurement time. Minutes 1-15=sedentary; minutes 16-17=transitional/unstructured; minutes 18-32=activities of daily living (typing, wiping surfaces, and ironing); minutes 33-34=transitional/unstructured; minutes 35-44=walking; minutes 45-49=running; minutes 50-59=transitional/unstructured; minutes 60-69=cycling; minutes 71-80=rowing; and minutes 82-91=elliptical. Participants performed cycling, rowing, and elliptical tasks at self-selected low and moderate intensity for 5 minutes each. AG: ActiGraph; FB: Fitbit; METs: metabolic equivalents; SWA: SenseWear.
Out-of-sample results for each of the regression models.
| Model | Training data | Minutesa | Predicted (METsb), mean (SD) | True (METs), mean (SD) | MAPEc | RMSEd | CCCe (95% CI) | Equivalence |
| AGf gradient boost | Study 1 | 2690 | 4.03 (1.9) | 3.93 (2.66) | 36.35 | 1.37 | 0.82 (0.81-0.83) | Equivalentg |
| AG neural network | Study 1 | 2690 | 4.07 (2.48) | 3.93 (2.66) | 29.75 | 1.33 | 0.87 (0.86-0.88) | Equivalent |
| AG random forest | Study 1 | 2690 | 3.97 (1.79) | 3.93 (2.66) | 39.50 | 1.51 | 0.78 (0.77-0.79) | Equivalent |
| FBh gradient boost | Study 1 | 2630 | 3.76 (1.7) | 3.88 (2.65) | 47.55 | 1.89 | 0.64 (0.62-0.66) | Equivalent |
| FB neural network | Study 1 | 2630 | 3.65 (1.86) | 3.88 (2.65) | 47.40 | 1.92 | 0.65 (0.63-0.67) | —i |
| FB random forest | Study 1 | 2630 | 3.76 (1.66) | 3.88 (2.65) | 47.45 | 1.87 | 0.64 (0.63-0.66) | Equivalent |
| SWAj gradient boost | Study 1 | 2633 | 3.92 (2.13) | 3.94 (2.68) | 27.35 | 1.23 | 0.87 (0.86-0.88) | Equivalent |
| SWA neural network | Study 1 | 2633 | 3.88 (2.26) | 3.94 (2.68) | 27.07 | 1.22 | 0.88 (0.87-0.89) | Equivalent |
| SWA random forest | Study 1 | 2633 | 3.91 (2.07) | 3.94 (2.68) | 29.54 | 1.28 | 0.86 (0.85-0.87) | Equivalent |
| AG gradient boost | Study 2 | 2827 | 4.46 (2.14) | 4.15 (2.52) | 31.49 | 1.36 | 0.83 (0.82-0.84) | — |
| AG neural network | Study 2 | 2827 | 4.24 (2.56) | 4.15 (2.52) | 29.00 | 1.42 | 0.84 (0.83-0.85) | Equivalent |
| AG random forest | Study 2 | 2827 | 4.45 (2.1) | 4.15 (2.52) | 31.47 | 1.38 | 0.82 (0.81-0.84) | — |
| FB gradient boost | Study 2 | 2818 | 4.11 (2.06) | 4.13 (2.51) | 34.38 | 1.66 | 0.74 (0.72-0.75) | Equivalent |
| FB neural network | Study 2 | 2818 | 4.01 (2.04) | 4.13 (2.51) | 33.10 | 1.56 | 0.77 (0.75-0.78) | Equivalent |
| FB random forest | Study 2 | 2818 | 4.21 (2.04) | 4.13 (2.51) | 33.79 | 1.62 | 0.75 (0.73-0.77) | Equivalent |
| SWA gradient boost | Study 2 | 2859 | 4.15 (2.13) | 4.14 (2.51) | 24.90 | 1.25 | 0.86 (0.85-0.87) | Equivalent |
| SWA neural network | Study 2 | 2859 | 3.94 (2.36) | 4.14 (2.51) | 25.65 | 1.25 | 0.87 (0.86-0.88) | Equivalent |
| SWA random forest | Study 2 | 2859 | 4.2 (2.13) | 4.14 (2.51) | 25.72 | 1.26 | 0.85 (0.84-0.86) | Equivalent |
aMinutes refers to the number of minutes the algorithms are validated on.
bMETs: metabolic equivalents.
cMAPE: mean absolute percentage error.
dRMSE: root mean square error.
eCCC: concordance correlation coefficient CCC is presented with 95% CIs.
fAG: ActiGraph.
gEquivalent implies that the model is statistically equivalent to the criterion.
hFB: Fitbit.
iThe model is not statistically equivalent to the criterion.
jSWA: SenseWear.
Figure 4A confusion matrix detailing the classification accuracies for each of the tested models. AG: ActiGraph; FB: Fitbit; SWA: SenseWear.
Between-study classification results for each of the classification models.
| Training data and model | Accuracy |
| |
|
| |||
|
| AGa gradient boost | 0.75 | 0.55 |
|
| AG k-nearest neighbors | 0.61 | 0.35 |
|
| AG neural network | 0.72 | 0.52 |
|
| AG random forest | 0.74 | 0.53 |
|
| AG support vector machine | 0.55 | 0.06 |
|
| FBb gradient boost | 0.67 | 0.43 |
|
| FB k-nearest neighbors | 0.68 | 0.47 |
|
| FB neural network | 0.67 | 0.47 |
|
| FB random forest | 0.67 | 0.41 |
|
| FB support vector machine | 0.67 | 0.45 |
|
| SWAc gradient boost | 0.80 | 0.67 |
|
| SWA k-nearest neighbors | 0.74 | 0.57 |
|
| SWA neural network | 0.79 | 0.66 |
|
| SWA random forest | 0.80 | 0.66 |
|
| SWA support vector machine | 0.68 | 0.43 |
|
| |||
|
| AG gradient boost | 0.79 | 0.56 |
|
| AG k-nearest neighbors | 0.72 | 0.48 |
|
| AG neural network | 0.75 | 0.51 |
|
| AG random forest | 0.79 | 0.57 |
|
| AG support vector machine | 0.65 | 0.07 |
|
| FB gradient boost | 0.73 | 0.48 |
|
| FB k-nearest neighbors | 0.72 | 0.47 |
|
| FB neural network | 0.71 | 0.44 |
|
| FB random forest | 0.73 | 0.48 |
|
| FB support vector machine | 0.73 | 0.48 |
|
| SWA gradient boost | 0.78 | 0.57 |
|
| SWA k-nearest neighbors | 0.76 | 0.55 |
|
| SWA neural network | 0.76 | 0.55 |
|
| SWA random forest | 0.79 | 0.58 |
|
| SWA support vector machine | 0.78 | 0.55 |
aAG: ActiGraph.
bFB: Fitbit.
cSWA: SenseWear.