Manual Annotation of Time in Bed Using Free-Living Recordings of Accelerometry Data

Sensors (Basel). 2021 Dec 17;21(24):8442. doi: 10.3390/s21248442.

Abstract

With the emergence of machine learning for the classification of sleep and other human behaviors from accelerometer data, the need for correctly annotated data is higher than ever. We present and evaluate a novel method for the manual annotation of in-bed periods in accelerometer data using the open-source software Audacity®, and we compare the method to the EEG-based sleep monitoring device Zmachine® Insight+ and self-reported sleep diaries. For evaluating the manual annotation method, we calculated the inter- and intra-rater agreement and agreement with Zmachine and sleep diaries using interclass correlation coefficients and Bland-Altman analysis. Our results showed excellent inter- and intra-rater agreement and excellent agreement with Zmachine and sleep diaries. The Bland-Altman limits of agreement were generally around ±30 min for the comparison between the manual annotation and the Zmachine timestamps for the in-bed period. Moreover, the mean bias was minuscule. We conclude that the manual annotation method presented is a viable option for annotating in-bed periods in accelerometer data, which will further qualify datasets without labeling or sleep records.

Keywords: accelerometry; annotation; circadian rhythms; classification; human behavior; labeling; machine learning; physical activity; sleep; sleep/wake cycles; wearable sensors.

MeSH terms

  • Accelerometry*
  • Electroencephalography
  • Humans
  • Machine Learning
  • Reproducibility of Results
  • Sleep*

Grants and funding