Skip to content
Classify sleep from heart rate and acceleration via Apple Watch
Python MATLAB
Branch: master
Clone or download
Olivia Walch Olivia Walch
Olivia Walch and Olivia Walch OJW - Fixed link formatting in the README files
Latest commit b73bdc4 Oct 24, 2019

README.md

sleep_classifiers

This code uses scikit-learn to classify sleep based on acceleration and photoplethymography-derived heart rate from the Apple Watch.

Getting Started

This code uses Python 3.7.

Data

Data collected using the Apple Watch is available on PhysioNet: link

The MESA dataset is available for download at the National Sleep Research Resource

Features + figures

All raw data are cleaned and features are generated in preprocessing_runner.py.

The file analysis_runner.py can be used to generate figures showing classifier performance.

License

This software is open source and under an MIT license.

You can’t perform that action at this time.