4rooms commited on
Commit
a44f3d6
·
verified ·
1 Parent(s): 91b3259

Add dataset card with 7 datasets + MASS SS01-SS05

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ tags:
5
+ - sleep-staging
6
+ - eeg
7
+ - embeddings
8
+ - physioex
9
+ - chambon2018
10
+ pretty_name: Chambon2018 Embeddings
11
+ size_categories:
12
+ - 1K<n<10K
13
+ ---
14
+
15
+ # Chambon2018 Embeddings
16
+
17
+ Pre-extracted per-epoch embeddings from **Chambon2018** (Chambon et al. 2018),
18
+ trained on MASS SS3 via [PhysioEx](https://github.com/guidogagl/physioex).
19
+
20
+ Each subject directory contains:
21
+ - `embeddings.npy` — `(n_epochs, 120)` per-epoch embeddings (bfloat16)
22
+ - `labels.npy` — `(n_epochs,)` AASM sleep stage labels (W=0, N1=1, N2=2, N3=3, REM=4, unscored=-1)
23
+
24
+ **Note:** Chambon2018 is a per-epoch CNN encoder (no inter-epoch context).
25
+ Embeddings are extracted directly without sliding-window voting.
26
+
27
+ ## Usage
28
+
29
+ ```python
30
+ from physioex.models import load_embeddings
31
+
32
+ path = load_embeddings("chambon2018", "hmc", verbose=True)
33
+ ```
34
+
35
+ ## Linear Probe Results (5-fold subject-wise CV)
36
+
37
+ | Dataset | Subjects | ACC | MF1 | κ | F1-W | F1-N1 | F1-N2 | F1-N3 | F1-REM |
38
+ |---|---|---|---|---|---|---|---|---|---|
39
+ | mass_ss05 | 26 | **0.8146** | 0.6653 | **0.7284** | 0.74 | 0.08 | 0.88 | 0.83 | 0.80 |
40
+ | mass_ss02 | 19 | 0.7902 | 0.6397 | 0.6919 | 0.74 | 0.05 | 0.86 | 0.79 | 0.75 |
41
+ | mass_ss03 | 62 | 0.7869 | **0.6638** | 0.6806 | 0.79 | 0.15 | 0.87 | 0.75 | 0.76 |
42
+ | mass_ss04 | 40 | 0.7777 | 0.6353 | 0.6785 | 0.73 | 0.06 | 0.87 | 0.78 | 0.75 |
43
+ | mass_ss01 | 53 | 0.7134 | 0.5899 | 0.5882 | 0.81 | 0.23 | 0.82 | 0.48 | 0.61 |
44
+ | sleepedf | 153 | 0.6001 | 0.4502 | 0.4198 | 0.65 | 0.00 | 0.72 | 0.52 | 0.36 |
45
+ | hmc | 151 | 0.5980 | 0.5099 | 0.4581 | 0.66 | 0.03 | 0.65 | 0.67 | 0.54 |
46
+
47
+ *SHHS, MESA, HPAP, STAGES results pending (extraction running on Sofia HPC).*
48
+
49
+ ## Model Details
50
+
51
+ - **Architecture**: Chambon2018 (Chambon et al. 2018) — braindecode SleepStagerChambon2018 per-epoch CNN
52
+ - **Training data**: MASS SS3 (62 subjects, single EEG channel at 128 Hz)
53
+ - **Pipeline**: `raw` (bandpass 0.3-40 Hz, resample 128 Hz)
54
+ - **Sequence length**: L=3 (central epoch classification)
55
+ - **Embedding dim**: 120
56
+
57
+ ## Datasets
58
+
59
+ | Dataset | Source | URL |
60
+ |---|---|---|
61
+ | Sleep-EDF | PhysioNet | https://physionet.org/content/sleep-edfx/1.0.0/ |
62
+ | HMC | PhysioNet | https://physionet.org/content/hmc-sleep-staging/1.1/ |
63
+ | MASS | CEAMS | http://ceams-carsm.ca/mass/ |
64
+
65
+ ## Citations
66
+
67
+ ```bibtex
68
+ @article{gagliardi2025physioex,
69
+ author={Gagliardi, Guido and Alfeo, Luca and Cimino, Mario G C A and Valenza, Gaetano and De Vos, Maarten},
70
+ title={PhysioEx, a new Python library for explainable sleep staging through deep learning},
71
+ journal={Physiological Measurement},
72
+ url={http://iopscience.iop.org/article/10.1088/1361-6579/adaf73},
73
+ year={2025},
74
+ }
75
+
76
+ @article{chambon2018deep,
77
+ title={A deep learning architecture for temporal sleep stage classification using multivariate and multimodal time series},
78
+ author={Chambon, Stanislas and Galtier, Mathieu and Arnal, Pierrick and Wainrib, Gilles and Gramfort, Alexandre},
79
+ journal={IEEE Transactions on Neural Systems and Rehabilitation Engineering},
80
+ year={2018},
81
+ }
82
+ ```