This project aims to study the use of data gathered from a consumer wearable device (Apple Watch), to predict the sleep stages of individuals.
The raw sensor data are transformed into features and fed into a CatBoost gradient boosted classifier to predict the sleep stages.
The dataset is collected at the University of Michigan from June 2017 to March 2019 (Walch 2019), contains motion (
The data is preprocessed using the python script supplied in the foundational work conducted by Walch (2019).
Clone the repo
git clone https://github.com/jiemingyou/sleep-stage-prediction-bst.git
cd sleep-stage-prediction-bst
pip install -r requirements.txt
Run the main script to process the data and train the model
python main.py
Walch, O. (2019). Motion and heart rate from a wrist-worn wearable and labeled sleep from polysomnography (version 1.0.0). PhysioNet. https://doi.org/10.13026/hmhs-py35.