ABSTRACT
The use of accelerometers has become an established method in population research. Accelerometers are small body-worn sensors that can monitor movement patterns and cycles over several days under free-living conditions. A key requirement for any accelerometer-based analysis is the reliable discrimination of sleep and wake episodes. However, many studies using hip-worn sensors either instruct the participants to remove the sensor over night or use algorithms developed for wrist placement which are known to perform poorly on hip data. Here we present a new algorithm to differentiate sleep from awake time in raw hip acceleration data using a machine learning approach. Validated on sleep estimates from a subset of the Tromsø Study, the proposed algorithm outperformed the standard algorithms by discriminating sleep and wake correctly in 93.81% (95% CI: 0.72) of the time (F1 score = 0.93, 95% CI: 0.01). The value of our algorithm lies in the improved recognition of sleep and movement in large studies where manual scoring is unfeasible due to the amount of data. Even though the algorithm was developed to learn characteristic hip movements, it can easily be adapted for other sensor placements or study populations.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This work was supported by the High North Population Studies at UiT The Arctic University of Norway.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
The dataset used in the study was acquired in the seventh wave of the Tromso Study (Tromso7) from 2015-16. Tromso7 was approved by the Regional Committee for Medical Research Ethics (REC North ref. 2014/940) and the Norwegian Data Protection Authority, and all participants gave written informed consent. The usage of data in this study has been approved by the Data Publication Committee of the Tromso Study.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.
Yes
Data Availability
The data used in this study is available on request to the Tromso Study Data and Publication Committee. Manual annotations can be made available upon request to the authors. All code used in this study is publicly available in the supporting repository at https://github.com/trybnetic/tu7-acceleration-sleep-wake-classification. The final algorithm is implemented in our Physical Activity Analysis Toolbox (PAAT) which is publicly available at https://github.com/Trybnetic/paat.
http://tromsoundersokelsen.uit.no/tromso/
https://github.com/trybnetic/tu7-acceleration-sleep-wake-classification