Published April 15, 2020 | Version 1.0
Other Open

Sleep classification from wrist-worn accelerometer data using Random Forests

  • 1. Netherlands eScience Institute

Description

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 158 participants (78 with sleep disorder and 80 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 at a 30-second resolution with a F1 score of 73.93\% on a previously unseen test set of 24 participants.

These Random forest models have been made open-source to aid further research in sleep analysis. The models can be used with GGIR as described in https://github.com/wadpac/SleepStageClassification/tree/master/ggir_ext . These models were trained with scikit-learn v0.22.1 and we recommend using the same version for using these models. If used with other versions, there might be a warning indicating incompatibility.

Files

Files (8.3 GB)

Name Size
md5:9fce23e4cce47effe006f5748dfef841
1.4 GB Download
md5:c7ca4cf9db3f776bf91617e244deecf5
38.8 MB Download
md5:c9f5789abef7bba1f8beb1d23d5adbf6
300.7 MB Download
md5:2e6eefcb2008b076f36f02a61ea70611
191.5 MB Download
md5:5a43414c283ee29ddbe178ba35c495a7
2.0 GB Download
md5:487c2b1d92cc58fa76dd5752399d1580
69.1 MB Download
md5:f5c67538692e1003c45d247970111340
1.4 GB Download
md5:b192d337e4e942eafffed61874ef88e9
839.0 MB Download
md5:ec8cdf94a988eed81dc4d7242fbf5aed
2.0 GB Download
md5:6e9dd4da9685ebb3cd9cbec03ff65644
59.6 MB Download