Support our work
Decorative header background

Sleep classification from wrist-worn accelerometer data using random forests

Research group Van Someren
Publication year 2021
Published in Scientific Reports
Authors B.H.W. Te Lindert, Eus Van Someren, Kalaivani Sundararajan, Sonja Georgievska, Philip R Gehrman, Jennifer R Ramautar, Diego R Mazzotti, Séverine Sabia, Michael N Weedon, Lars Ridder, Jian Wang, Vincent T van Hees,
The order of authors may deviate from the original publication due to temporary technical issues.

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 ([Formula: see text]), 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 ([Formula: see text]). 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.

Support our work!

The Friends Foundation facilitates groundbreaking brain research. You can help us with that.

Support our work