This repository contains code to
- reproduce the results in the paper ["reproduce_results" folder];
- get risk prediction for a particiular sleep PSG recording ["risk_calculator" folder].
The data is a subset of The Human Sleep Project stored on the Brain Data Science Platform (BDSP): https://bdsp.io/content/hsp/2.0/
Step 1: feature extraction: EDF + sleep stage --> feature CSV (not yet done, I need to clear&upload this code soon) Step 2: run risk_calculator/prediction-example.ipynb
APA: Sun, H., Adra, N., Ayub, M. A., Ganglberger, W., Ye, E., Fernandes, M., ... & Thomas, R. J. (2024). Assessing risk of health outcomes from brain activity in sleep: a retrospective cohort study. Neurology: Clinical Practice, 14(1), e200225.