PyHealth icon indicating copy to clipboard operation
PyHealth copied to clipboard

Updating DREAMT dataset

Open stanley-yang-2001 opened this issue 1 month ago • 0 comments

Name: Stanley Yang NetID: sy70 Paper Title: Addressing wearable sleep tracking inequity: a new dataset and novel methods for a population with sleep disorders Paper Link (pdf download): https://proceedings.mlr.press/v248/wang24a.html

The original dreamt.py can only process the dreamt dataset from the https://physionet.org/content/dreamt/. However, the dataset from physionet is different from the dataset used in the codebase of the paper: https://github.com/WillKeWang/DREAMT_FE , which is where my replication is from.

This pull request added a new DREAMTSleepWakeDataset class that follows the data processing of the ML pipeline in the github codebase of the paper. Along with the new class, I also implemented the test for the new class in test_dreamt.py.

Command with virtual environment: .venv\Scripts\python.exe -m unittest -v tests.core.test_dreamt

stanley-yang-2001 avatar Dec 07 '25 21:12 stanley-yang-2001