| Literature DB >> 34960533 |
Esben Lykke Skovgaard1, Jesper Pedersen1, Niels Christian Møller1, Anders Grøntved1, Jan Christian Brønd1.
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.Entities:
Keywords: accelerometry; annotation; circadian rhythms; classification; human behavior; labeling; machine learning; physical activity; sleep; sleep/wake cycles; wearable sensors
Mesh:
Year: 2021 PMID: 34960533 PMCID: PMC8707394 DOI: 10.3390/s21248442
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Signal features for the detection of in-bed periods in Audacity.
| Name | Description | Values | Visual Interpretation |
|---|---|---|---|
| Lying | The classification of lying based on the thigh and back | 1: lying | Lying position |
| Activity | The classification of activity type | 1: Standing, moving, or walking | This feature will guide the rater to identify periods of activity prior to correct bedtime |
| Time | Time categorized into four-hour windows | −1: 00:00–04:00 and so on throughout the 24 h cycle | Time of day |
| Thigh-SDacc | Standard deviation of the acceleration on the longitudinal axis of the thigh | −1: No movement | Proportion of leg movement |
| Thigh-Inclination | Inclination angle of the thigh device in relation to the longitudinal axis of the thigh | The −1 to 1 range represents the −180 to 180 degrees inclination angle | Inclination angle of the thigh |
| Hip-SDacc | Standard deviation of the hip acceleration on the longitudinal axis of the torso | −1: No movement | Proportion of whole-body movement |
| Hip-Inclination | Inclination of the hip device in relation to the longitudinal axis of the torso | The −1 to 1 range represents the −180 to 180 degrees inclination angle | Inclination angle of the body/hip |
Figure 1Screenshot of the Audacity interface showing the seven horizontal panels representing the included signal features. See Table 1 for a detailed description of the features.
Figure 2Screenshot of the Audacity interface when zoomed in on a single night for the labeling of the in-bed period. The seven horizontal panels represent the included signal features. See Table 1 for a detailed description of features.
Descriptive characteristics of the study participants.
| Population ( | |
|---|---|
| Children | |
|
| 14 |
| Gender (% female) | 28.6 |
| Age (years) | 9 (7–10) |
| Adults | |
|
| 19 |
| Gender (% female) | 57.9 |
| Age (years) | 42 (39–46) |
| ISCED | |
| 0–3 (%) | 36.8 |
| 4–6 (%) | 47.4 |
| 7–8 (%) | 15.8 |
|
| |
Intraclass correlation coefficients between ZM and the average of the manual annotations between the three raters.
| Baseline ( | Follow-Up ( | |||
|---|---|---|---|---|
| Round 1 | Round 2 | Round 1 | Round 2 | |
| To bed | 0.98 (0.98; 0.99) | 0.98 (0.96; 0.98) | 0.96 (0.94; 0.98) | 0.95 (0.92; 0.97) |
| Out of bed | 0.98 (0.97; 0.99) | 0.98 (0.96; 0.98) | 0.98 (0.97; 0.99) | 0.97 (0.95; 0.98) |
Round 1 and round 2 refers to the first and second round of annotation.
Intraclass correlation coefficients between self-report and ZM.
| Baseline ( | Follow-Up ( | |
|---|---|---|
| ICC (95% CI) | ICC (95% CI) | |
| To bed | 0.98 (0.98; 0.99) | 0.96 (0.94; 0.98) |
| Out of bed | 0.98 (0.97; 0.99) | 0.98 (0.96; 0.99) |
Intraclass correlation coefficients between manual raters.
| Baseline ( | Follow-Up ( | |||
|---|---|---|---|---|
| Round 1 | Round 2 | Round 1 | Round 2 | |
| To bed | 0.91 (0.88; 0.94) | 0.92 (0.89; 0.94) | 0.94 (0.9; 0.96) | 0.97 (0.95; 0.98) |
| Out of bed | 0.93 (0.9; 0.95) | 0.97 (0.96; 0.98) | 0.97 (0.96; 0.98) | 0.98 (0.98; 0.99) |
Round 1 and round 2 refers to the first and second round of annotation.
Test–retest intraclass correlation coefficients between the first and second round of manual annotations.
| Baseline ( | Follow-Up ( | |||
|---|---|---|---|---|
| To Bed | Out of Bed | To Bed | Out of Bed | |
| Rater 1 | 0.91 (0.87; 0.94) | 0.98 (0.98; 0.99) | 0.96 (0.94; 0.98) | 1.00 (0.99; 1.00) |
| Rater 2 | 0.97 (0.96; 0.98) | 0.91 (0.87; 0.94) | 0.91 (0.86; 0.95) | 0.99 (0.98; 0.99) |
| Rater 3 | 0.91 (0.87; 0.94) | 0.96 (0.94; 0.97) | 0.98 (0.97; 0.99) | 0.98 (0.97; 0.99) |
Bland–Altman analysis of inter-method agreement between manual annotation and ZM as well as self-report and ZM. All estimates are in minutes.
| Method | Bias (95% CI) | Upper LOA (95% CI) | Lower LOA (95% CI) |
|---|---|---|---|
| Baseline, to bed ( | |||
| Manual, round 1 | 3.02 (−0.44; 6.47) | −30.04 (−35.96; −24.12) | 36.07 (30.15; 42) |
| Manual, round 2 | 0.48 (−2.42; 3.39) | −27.3 (−32.28; −22.32) | 28.27 (23.29; 33.24) |
| Self-report | 1.23 (−1.57; 4.03) | −25.56 (−30.37; −20.76) | 28.02 (23.21; 32.82) |
| Baseline, out of bed ( | |||
| Manual, round 1 | 0.53 (−2.34; 3.4) | −26.9 (−31.82; −21.99) | 27.96 (23.05; 32.88) |
| Manual, round 2 | 0.98 (−1.47; 3.43) | −22.49 (−26.7; −18.28) | 24.45 (20.24; 28.66) |
| Self-report | −2.79 (−5.26; −0.32) | −26.45 (−30.69; −22.21) | 20.87 (16.63; 25.11) |
| Follow-up, to bed ( | |||
| Manual, round 1 | −6.08 (−11.34; −0.83) | −43.81 (−52.84; −34.77) | 31.64 (22.61; 40.67) |
| Manual, round 2 | −0.4 (−5.3; 4.51) | −35.6 (−44.03; −27.17) | 34.8 (26.37; 43.23) |
| Self-report | 0.77 (−4.08; 5.62) | −34.06 (−42.4; −25.72) | 35.59 (27.25; 43.93) |
| Follow-up, out of bed ( | |||
| Manual, round 1 | 4.95 (0.65; 9.25) | −25.95 (−33.35; −18.55) | 35.85 (28.45; 43.25) |
| Manual, round 2 | 2.57 (−0.76; 5.89) | −21.3 (−27.02; −15.59) | 26.44 (20.72; 32.15) |
| Self-report | 0.56 (−3.62; 4.74) | −29.45 (−36.64; −22.26) | 30.57 (23.39; 37.76) |
Figure 3Probability density distributions for differences between manual in-bed annotations and self-report compared to ZM.