Commit 3837ecb
committed
Add awake detection classifiers and optimize REM detection logic
- Introduced `refine_awake_detection.py` for enhanced awake detection using heart rate samples and sleep stages.
- Added `two_stage_classifier.py` implementing a two-stage classification approach for distinguishing awake vs sleep and NREM vs REM stages.
- Created `two_stage_v2.py` to incorporate consecutive awake signals requirement for improved accuracy.
- Updated `remOptimizedClassifier.ts` to utilize learned awake prior probabilities based on time since sleep onset, enhancing the prediction model.1 parent 4e18d2c commit 3837ecb
12 files changed
Lines changed: 3133 additions & 13 deletions
File tree
- notes
- scripts
- services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
Loading
Loading
0 commit comments