feat: add SleepWakeDetectionDREAMT and SleepStagingDREAMT tasks for DREAMT dataset#1117
Open
Pstack-maker wants to merge 5 commits intosunlabuiuc:masterfrom
Open
feat: add SleepWakeDetectionDREAMT and SleepStagingDREAMT tasks for DREAMT dataset#1117Pstack-maker wants to merge 5 commits intosunlabuiuc:masterfrom
Pstack-maker wants to merge 5 commits intosunlabuiuc:masterfrom
Conversation
…REAMT dataset with feature engineering, 17 unit tests, ablation example script, and docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributors
Type of Contribution
Standalone Task
Original Paper
Wang et al. (2024). Addressing wearable sleep tracking inequity: a new dataset
and novel methods for a population with sleep disorders. CHIL 2024, PMLR 248:380-396.
https://proceedings.mlr.press/v248/wang24a.html
Description
Adds two PyHealth tasks for the existing DREAMTDataset:
Feature engineering follows paper section 2.5 (ACC bandpass filtering,
TEMP winsorization, BVP filtering, EDA detrending, HR stats). AHI and BMI
are attached to each epoch as clinical metadata to support mixed-effects
modeling (paper section 2.6).
Ablation Study
Mirrors paper Table 2 using 3 LightGBM configurations on real DREAMT data:
Results confirm the paper's finding that adding clinical metadata improves
sleep/wake detection.
File Guide
Running the Example
Demo mode (no data needed):
python examples/dreamt_sleep_wake_detection.py --demo
Real data:
python examples/dreamt_sleep_wake_detection.py --root /path/to/dreamt/2.1.0