TY - JOUR
T1 - Sleep classification from wrist-worn accelerometer data using random forests
AU - Sundararajan, Kalaivani
AU - Georgievska, Sonja
AU - te Lindert, Bart H.W.
AU - Gehrman, Philip R.
AU - Ramautar, Jennifer
AU - Mazzotti, Diego R.
AU - Sabia, Séverine
AU - Weedon, Michael N.
AU - van Someren, Eus J.W.
AU - Ridder, Lars
AU - Wang, Jian
AU - van Hees, Vincent T.
PY - 2021/12
Y1 - 2021/12
N2 - Accurate and low-cost sleep measurement tools are needed in both clinical and epidemiological research. To this end, wearable accelerometers are widely used as they are both low in price and provide reasonably accurate estimates of movement. Techniques to classify sleep from the high-resolution accelerometer data primarily rely on heuristic algorithms. In this paper, we explore the potential of detecting sleep using Random forests. Models were trained using data from three different studies where 134 adult participants (70 with sleep disorder and 64 good healthy sleepers) wore an accelerometer on their wrist during a one-night polysomnography recording in the clinic. The Random forests were able to distinguish sleep-wake states with an F1 score of 73.93% on a previously unseen test set of 24 participants. Detecting when the accelerometer is not worn was also successful using machine learning (F1-score > 93.31 %), and when combined with our sleep detection models on day-time data provide a sleep estimate that is correlated with self-reported habitual nap behaviour (r =. 60). These Random forest models have been made open-source to aid further research. In line with literature, sleep stage classification turned out to be difficult using only accelerometer data.
AB - Accurate and low-cost sleep measurement tools are needed in both clinical and epidemiological research. To this end, wearable accelerometers are widely used as they are both low in price and provide reasonably accurate estimates of movement. Techniques to classify sleep from the high-resolution accelerometer data primarily rely on heuristic algorithms. In this paper, we explore the potential of detecting sleep using Random forests. Models were trained using data from three different studies where 134 adult participants (70 with sleep disorder and 64 good healthy sleepers) wore an accelerometer on their wrist during a one-night polysomnography recording in the clinic. The Random forests were able to distinguish sleep-wake states with an F1 score of 73.93% on a previously unseen test set of 24 participants. Detecting when the accelerometer is not worn was also successful using machine learning (F1-score > 93.31 %), and when combined with our sleep detection models on day-time data provide a sleep estimate that is correlated with self-reported habitual nap behaviour (r =. 60). These Random forest models have been made open-source to aid further research. In line with literature, sleep stage classification turned out to be difficult using only accelerometer data.
UR - http://www.scopus.com/inward/record.url?scp=85098993077&partnerID=8YFLogxK
U2 - 10.1038/s41598-020-79217-x
DO - 10.1038/s41598-020-79217-x
M3 - Article
C2 - 33420133
AN - SCOPUS:85098993077
SN - 2045-2322
VL - 11
JO - Scientific Reports
JF - Scientific Reports
IS - 1
M1 - 24
ER -