Skip to content
/ SDI Public

[npj Digital Medicine'25] Continuous sleep depth index annotation with deep learning yields novel digital biomarkers for sleep health

License

Notifications You must be signed in to change notification settings

sczzz3/SDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9b1a9d7 · Apr 13, 2025

History

28 Commits
Aug 16, 2024
Aug 16, 2024
Aug 16, 2024
Aug 16, 2024
Aug 16, 2024
Aug 16, 2024
Apr 13, 2025
Aug 16, 2024

Repository files navigation

Annotation of sleep depth index (SDI) by deep learning

The implementation for the paper: "Continuous Sleep Depth Index Annotation with Deep Learning Yields Novel Digital Biomarkers for Sleep Health". A web app for annotating the Sleep Depth Index is available at here (with support for EDF-format input).

Requirements

  • Install the dependencies by:
conda create -n sdi python=3.11
pip install -r requirements.txt

Usage

You can modify the training configs in src/configs, and run model training by

python train.py --config ../configs/config.ini

After training, you can try the inference by running

python infer.py --data_file YOUR_DATA(EDF) --output_file NAMED_FILE.csv 

The resulting CSV file represents data where each row corresponds to a 30-second interval. The first column contains the Sleep Depth Index, while the second column indicates the classification of REM sleep.

Citation

If you find the idea useful or use this code in your work, please cite our paper

@article{zhou2025continuous,
  title={Continuous sleep depth index annotation with deep learning yields novel digital biomarkers for sleep health},
  author={Zhou, Songchi and Song, Ge and Sun, Haoqi and Zhang, Deyun and Leng, Yue and Westover, M Brandon and Hong, Shenda},
  journal={npj Digital Medicine},
  volume={8},
  number={1},
  pages={203},
  year={2025},
  publisher={Nature Publishing Group UK London}
}

About

[npj Digital Medicine'25] Continuous sleep depth index annotation with deep learning yields novel digital biomarkers for sleep health

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages