| Literature DB >> 32764316 |
Matthew N Ahmadi1,2, Toby G Pavey2, Stewart G Trost1,2.
Abstract
Machine learning (ML) activity classification models trained on laboratory-based activity trials exhibit low accuracy under free-living conditions. Training new models on free-living accelerometer data, reducing the number of prediction windows comprised of multiple activity types by using shorter windows, including temporal features such as standard deviation in lag and lead windows, and using multiple sensors may improve the classification accuracy under free-living conditions. The objective of this study was to evaluate the accuracy of Random Forest (RF) activity classification models for preschool-aged children trained on free-living accelerometer data. Thirty-one children (mean age = 4.0 ± 0.9 years) completed a 20 min free-play session while wearing an accelerometer on their right hip and non-dominant wrist. Video-based direct observation was used to categorize the children's movement behaviors into five activity classes. The models were trained using prediction windows of 1, 5, 10, and 15 s, with and without temporal features. The models were evaluated using leave-one-subject-out-cross-validation. The F-scores improved as the window size increased from 1 to 15 s (62.6%-86.4%), with only minimal improvements beyond the 10 s windows. The inclusion of temporal features increased the accuracy, mainly for the wrist classification models, by an average of 6.2 percentage points. The hip and combined hip and wrist classification models provided comparable accuracy; however, both the models outperformed the models trained on wrist data by 7.9 to 8.2 percentage points. RF activity classification models trained with free-living accelerometer data provide accurate recognition of young children's movement behaviors under real-world conditions.Entities:
Keywords: accelerometer; assessment; classification; early childhood; measurement; physical activity; supervised learning
Mesh:
Year: 2020 PMID: 32764316 PMCID: PMC7472058 DOI: 10.3390/s20164364
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Description of the five activity classes.
| Activity Class | Movement Descriptors | Activity Types |
|---|---|---|
| SED | Sitting/lying down | Sit still |
| Stationary/motionless | Sit w/upper body movement | |
| LIGHT_AG | Standing | Stand still |
| Stationary/movement of limbs or trunk (very easy) | Stand w/upper body movement | |
| Translocation (slow/easy) | Crawl | |
| Up/downstairs | ||
| Floor games | ||
| Stand and kick | ||
| Slide | ||
| Climb (low intensity) | ||
| MV_AG | Translocation (medium speed/moderate) | Run and kick |
| Translocation (fast or very fast/hard) | Side gallop | |
| Jump/hop/leap | ||
| Ride a bike | ||
| Ride a scooter | ||
| Stationary ride/spin/swing | ||
| Climb (high intensity) | ||
| WALK | Translocation (steady/medium speed/moderate) | Walk slow/stroll |
| Walk brisk | ||
| Walk and hold object | ||
| RUN | Translocation (steady/fast or very fast/hard) | Sprint |
| Run and hold object |
SED = sedentary; LIGHT AG = light activity and games; MV AG = moderate to vigorous activities and games; WALK = walking; RUN = running
Figure 1Interaction plots summarizing the effect of window size and feature set on the adjusted F-scores for models trained on wrist, hip, and combined hip and wrist accelerometer data. + Denotes significantly different from the base model at a given window size p < 0.05; * Denotes significantly different from the previous window size for a given feature set p < 0.05.
F-scores for the five activity classes and the weighted average F-score for each model.
| Placement | Feature | Window | SED | LIGHT_AG | MV_AG | WALK | RUN | Ave F-Score |
|---|---|---|---|---|---|---|---|---|
| Wrist | Base | 1 | 63.3 | 71.4 | 45.7 | 45.9 | 55.1 | 62.6 |
| 5 | 69.3 | 76.5 | 60.9 | 60.7 | 68.5 | 70.8 | ||
| 10 | 73.7 | 79.1 | 62.0 | 68.8 | 73.4 | 74.5 | ||
| 15 | 78.2 | 81.2 | 62.1 | 70.5 | 82.4 | 77.3 | ||
| Lag/Lead | 1 | 69.2 | 75.5 | 57.5 | 54.8 | 61.6 | 68.8 | |
| 5 | 78.5 | 80.1 | 66.9 | 60.3 | 68.8 | 75.5 | ||
| 10 | 82.4 | 82.9 | 70.3 | 70.8 | 71.5 | 80.0 | ||
| 15 | 83.3 | 83.7 | 70.7 | 69.0 | 82.4 | 80.6 | ||
| Hip | Base | 1 | 73.3 | 76.0 | 61.0 | 55.7 | 63.1 | 70.6 |
| 5 | 80.6 | 82.7 | 75.5 | 69.8 | 71.2 | 79.5 | ||
| 10 | 82.3 | 85.7 | 77.6 | 80.7 | 74.4 | 83.1 | ||
| 15 | 85.0 | 86.8 | 75.3 | 78.4 | 80.0 | 84.0 | ||
| Lag/Lead | 1 | 80.0 | 80.4 | 65.2 | 62.9 | 67.2 | 75.8 | |
| 5 | 85.7 | 85.6 | 76.3 | 68.8 | 72.8 | 82.2 | ||
| 10 | 87.6 | 87.9 | 76.4 | 81.0 | 73.6 | 85.3 | ||
| 15 | 87.7 | 88.2 | 78.5 | 79.4 | 82.6 | 85.9 | ||
| Hip & Wrist | Base | 1 | 75.8 | 77.7 | 62.1 | 58.4 | 64.5 | 72.5 |
| 5 | 81.1 | 82.8 | 74.3 | 70.1 | 71.7 | 79.6 | ||
| 10 | 83.9 | 85.8 | 75.6 | 79.5 | 74.9 | 83.2 | ||
| 15 | 85.5 | 86.4 | 77.1 | 78.1 | 86.6 | 84.3 | ||
| Lag/Lead | 1 | 80.8 | 81.0 | 66.7 | 64.9 | 67.9 | 76.8 | |
| 5 | 86.0 | 85.6 | 74.5 | 69.5 | 72.5 | 82.1 | ||
| 10 | 87.5 | 87.9 | 77.2 | 80.7 | 73.0 | 85.3 | ||
| 15 | 88.7 | 88.4 | 78.0 | 79.8 | 86.8 | 86.4 |
Figure 2Confusion matrices for physical activity classification from the wrist, hip, and combined hip and wrist placement for lag/lead 10 and 15 s window models. The columns represent observed; rows represent predictions; bold represents correct predictions; SED = sedentary; LIGHT_AG = light physical activity and games; MV_AG = moderate to vigorous physical activity and games; WALK = walking; RUN = running.