Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Feb 13;13(1):2496.
doi: 10.1038/s41598-023-29666-x.

Generalizability and performance of methods to detect non-wear with free-living accelerometer recordings

Affiliations

Generalizability and performance of methods to detect non-wear with free-living accelerometer recordings

Esben Lykke Skovgaard et al. Sci Rep. .

Abstract

Wearable physical activity sensors are widely used in research and practice as they provide objective measures of human behavior at a low cost. An important challenge for accurate assessment of physical activity behavior in free-living is the detection non-wear. Traditionally, heuristic algorithms that rely on specific interval lengths have been employed to detect non-wear time; however, machine learned models are emerging. We explore the potential of detecting non-wear using decision trees that combine raw acceleration and skin temperature, and we investigate the generalizability of our models, traditional heuristic algorithms, and recently developed machine learned models by external validation. The Decision tree models were trained using one week of data from thigh- and hip-worn accelerometers from 64 children. External validation was performed using data from wrist-worn accelerometers of 42 adolescents. For non-wear episodes longer than 60 min, the heuristic algorithms performed the best with F1-scores above 0.96. However, regarding episodes shorter than 60 min, the best performing method was the decision tree model including the six most important predictors with F1 scores above 0.74 for all sensor locations. We conclude that for classifying non-wear time, researchers should carefully select an appropriate method and we encourage the use of external validation when reporting on machine learned non-wear models.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Figure 1
Figure 1
Flowchart of the splitting of the PHASAR dataset into train and test. The boxes on the left represent 79.2% of the PHASAR data for training in the five-fold resamples. The yellow and blue boxes on the right represent 20.2% of the PHASAR data for testing being split up into hip and thigh data while the green box is our in-house test dataset collected from wrist-worn devices.
Figure 2
Figure 2
Predictor permutation importance plot for the decision tree including all predictors. The six most important predictors were used for training a second decision tree (tree_imp6), while all predictors excluding temperature were used to train a third decision tree (tree_no_temp).
Figure 3
Figure 3
Distribution of the length of the non-wear episodes across hip, thigh, and wrist data. Distributions are shown for episodes shorter than 60 min and longer than 60 min.
Figure 4
Figure 4
Visual example of the output of non-wear detection models and algorithms for a random person from the in-house wrist dataset (14 consecutive days). The light blue shade is ground-truth non-wear time. Syed_CNN, cz_60, and tree_full are vertically offset for easier interpretation.
Figure 5
Figure 5
Classification performance metrics on all non-wear episodes for the seven included methods for classifying non-wear time. Metrics are shown for the three different ground-truth dataset including hip-worn, thigh-worn, and wrist-worn raw accelerometer data.
Figure 6
Figure 6
Classification performance for episodes no longer than 60 min in length. Metrics are shown for the three different gold-standard dataset including hip-worn, thigh-worn, and wrist-worn raw accelerometer data.

Similar articles

Cited by

References

    1. Dowd KP, Szeklicki R, Minetto MA, et al. A systematic literature review of reviews on techniques for physical activity measurement in adults: A DEDIPAC study. Int. J. Behav. Nutr. Phys. Act. 2018;15(1):15. doi: 10.1186/s12966-017-0636-2. - DOI - PMC - PubMed
    1. Loyen A, Clarke-Cornwell AM, Anderssen SA, et al. Sedentary time and physical activity surveillance through accelerometer pooling in four European countries. Sports Med. 2017;47(7):1421–1435. doi: 10.1007/s40279-016-0658-y. - DOI - PMC - PubMed
    1. Montoye AHK, Nelson MB, Bock JM, et al. Raw and count data comparability of hip-worn actiGraph GT3X+ and link accelerometers. Med. Sci. Sports Exerc. 2018;50(5):1103–1112. doi: 10.1249/MSS.0000000000001534. - DOI - PubMed
    1. Migueles JH, Cadenas-Sanchez C, Rowlands AV, et al. Comparability of accelerometer signal aggregation metrics across placements and dominant wrist cut points for the assessment of physical activity in adults. Sci. Rep. 2019;9(1):18235. doi: 10.1038/s41598-019-54267-y. - DOI - PMC - PubMed
    1. Ae Lee J, Gill J. Missing value imputation for physical activity data measured by accelerometer. Stat. Methods Med. Res. 2018;27(2):490–506. doi: 10.1177/0962280216633248. - DOI - PubMed

Publication types