PierreGtch commited on
Commit
996b915
·
1 Parent(s): 76b885d

Align internal dataset IDs with HF dataset IDs

Browse files

Rename keys and accuracy_field values to match the HuggingFace
dataset names under braindecode/, with dashes converted to
underscores for Python/JS identifier safety:

mat -> arithmetic_zyma2019
mumtaz -> mdd_mumtaz2016
seedv -> seed_v
bcic-2020-3_accuracy-> bcic2020_3_accuracy

backend/app/config/benchmarks.py CHANGED
@@ -50,7 +50,7 @@ EEG_BENCHMARKS: Dict[str, BenchmarkInfo] = {
50
  description="BCI Competition 2020 Track #3 - 5-class imagined speech classification.",
51
  category="Speech Imagery",
52
  num_classes=5,
53
- accuracy_field="bcic-2020-3_accuracy",
54
  ),
55
  "isruc_sleep": BenchmarkInfo(
56
  dataset_id="braindecode/isruc-sleep",
@@ -79,23 +79,23 @@ EEG_BENCHMARKS: Dict[str, BenchmarkInfo] = {
79
  num_classes=6,
80
  accuracy_field="tuev_accuracy",
81
  ),
82
- "mumtaz": BenchmarkInfo(
83
  dataset_id="braindecode/mdd_mumtaz2016",
84
  task_id="pathology_binary",
85
  display_name="Mumtaz",
86
  description="Mumtaz 2016 MDD dataset - binary depression vs. healthy classification.",
87
  category="Pathology Detection",
88
  num_classes=2,
89
- accuracy_field="mumtaz_accuracy",
90
  ),
91
- "mat": BenchmarkInfo(
92
  dataset_id="braindecode/arithmetic_zyma2019",
93
  task_id="cognitive_load_binary",
94
  display_name="MAT",
95
  description="EEG During Mental Arithmetic Tasks (Zyma 2019) - binary rest vs. task classification.",
96
  category="Cognitive Load",
97
  num_classes=2,
98
- accuracy_field="mat_accuracy",
99
  ),
100
  "faced": BenchmarkInfo(
101
  dataset_id="braindecode/faced",
@@ -106,14 +106,14 @@ EEG_BENCHMARKS: Dict[str, BenchmarkInfo] = {
106
  num_classes=9,
107
  accuracy_field="faced_accuracy",
108
  ),
109
- "seedv": BenchmarkInfo(
110
  dataset_id="braindecode/seed-v",
111
  task_id="emotion_recognition_5class",
112
  display_name="SEED-V",
113
  description="SEED-V dataset - 5-class emotion recognition from EEG.",
114
  category="Emotion Recognition",
115
  num_classes=5,
116
- accuracy_field="seedv_accuracy",
117
  ),
118
  }
119
 
 
50
  description="BCI Competition 2020 Track #3 - 5-class imagined speech classification.",
51
  category="Speech Imagery",
52
  num_classes=5,
53
+ accuracy_field="bcic2020_3_accuracy",
54
  ),
55
  "isruc_sleep": BenchmarkInfo(
56
  dataset_id="braindecode/isruc-sleep",
 
79
  num_classes=6,
80
  accuracy_field="tuev_accuracy",
81
  ),
82
+ "mdd_mumtaz2016": BenchmarkInfo(
83
  dataset_id="braindecode/mdd_mumtaz2016",
84
  task_id="pathology_binary",
85
  display_name="Mumtaz",
86
  description="Mumtaz 2016 MDD dataset - binary depression vs. healthy classification.",
87
  category="Pathology Detection",
88
  num_classes=2,
89
+ accuracy_field="mdd_mumtaz2016_accuracy",
90
  ),
91
+ "arithmetic_zyma2019": BenchmarkInfo(
92
  dataset_id="braindecode/arithmetic_zyma2019",
93
  task_id="cognitive_load_binary",
94
  display_name="MAT",
95
  description="EEG During Mental Arithmetic Tasks (Zyma 2019) - binary rest vs. task classification.",
96
  category="Cognitive Load",
97
  num_classes=2,
98
+ accuracy_field="arithmetic_zyma2019_accuracy",
99
  ),
100
  "faced": BenchmarkInfo(
101
  dataset_id="braindecode/faced",
 
106
  num_classes=9,
107
  accuracy_field="faced_accuracy",
108
  ),
109
+ "seed_v": BenchmarkInfo(
110
  dataset_id="braindecode/seed-v",
111
  task_id="emotion_recognition_5class",
112
  display_name="SEED-V",
113
  description="SEED-V dataset - 5-class emotion recognition from EEG.",
114
  category="Emotion Recognition",
115
  num_classes=5,
116
+ accuracy_field="seed_v_accuracy",
117
  ),
118
  }
119
 
backend/app/data/sample_results.json CHANGED
@@ -9,14 +9,14 @@
9
  "Average ⬆️": 19.09,
10
  "physionet_accuracy": 0.0171,
11
  "bcic2a_accuracy": 0.0183,
12
- "bcic-2020-3_accuracy": 0.0203,
13
  "tuev_accuracy": 0.2278,
14
  "tuab_accuracy": 0.1453,
15
  "isruc_sleep_accuracy": 0.6274,
16
  "faced_accuracy": 0.0495,
17
- "mumtaz_accuracy": 0.6497,
18
- "mat_accuracy": 0.1052,
19
- "seedv_accuracy": 0.0482,
20
  "#Params (M)": null,
21
  "embed_dim": null,
22
  "trainable_params": null,
@@ -37,14 +37,14 @@
37
  "Average ⬆️": 22.95,
38
  "physionet_accuracy": 0.0397,
39
  "bcic2a_accuracy": 0.0575,
40
- "bcic-2020-3_accuracy": 0.0226,
41
  "tuev_accuracy": 0.3114,
42
  "tuab_accuracy": -0.0101,
43
  "isruc_sleep_accuracy": 0.6963,
44
  "faced_accuracy": 0.069,
45
- "mumtaz_accuracy": 0.6331,
46
- "mat_accuracy": 0.3477,
47
- "seedv_accuracy": 0.1273,
48
  "#Params (M)": null,
49
  "embed_dim": null,
50
  "trainable_params": null,
@@ -65,14 +65,14 @@
65
  "Average ⬆️": 12.85,
66
  "physionet_accuracy": 0.0585,
67
  "bcic2a_accuracy": 0.0103,
68
- "bcic-2020-3_accuracy": 0.0005,
69
  "tuev_accuracy": 0.0652,
70
  "tuab_accuracy": 0.2041,
71
  "isruc_sleep_accuracy": 0.3321,
72
  "faced_accuracy": 0.0157,
73
- "mumtaz_accuracy": 0.5652,
74
- "mat_accuracy": -0.0025,
75
- "seedv_accuracy": 0.0355,
76
  "#Params (M)": null,
77
  "embed_dim": null,
78
  "trainable_params": null,
@@ -93,14 +93,14 @@
93
  "Average ⬆️": 31.24,
94
  "physionet_accuracy": 0.4238,
95
  "bcic2a_accuracy": 0.148,
96
- "bcic-2020-3_accuracy": 0.0153,
97
  "tuev_accuracy": 0.2598,
98
  "tuab_accuracy": 0.5418,
99
  "isruc_sleep_accuracy": 0.6945,
100
  "faced_accuracy": 0.0585,
101
- "mumtaz_accuracy": 0.7156,
102
- "mat_accuracy": 0.1111,
103
- "seedv_accuracy": 0.1554,
104
  "#Params (M)": null,
105
  "embed_dim": null,
106
  "trainable_params": null,
@@ -121,14 +121,14 @@
121
  "Average ⬆️": 18.9,
122
  "physionet_accuracy": 0.0822,
123
  "bcic2a_accuracy": 0.062,
124
- "bcic-2020-3_accuracy": 0.0082,
125
  "tuev_accuracy": 0.2057,
126
  "tuab_accuracy": 0.4298,
127
  "isruc_sleep_accuracy": 0.3592,
128
  "faced_accuracy": 0.0709,
129
- "mumtaz_accuracy": 0.555,
130
- "mat_accuracy": 0.1014,
131
- "seedv_accuracy": 0.0153,
132
  "#Params (M)": null,
133
  "embed_dim": null,
134
  "trainable_params": null,
@@ -149,14 +149,14 @@
149
  "Average ⬆️": 25.83,
150
  "physionet_accuracy": 0.3904,
151
  "bcic2a_accuracy": 0.1389,
152
- "bcic-2020-3_accuracy": 0.006,
153
  "tuev_accuracy": 0.0671,
154
  "tuab_accuracy": 0.4067,
155
  "isruc_sleep_accuracy": 0.6211,
156
  "faced_accuracy": 0.1449,
157
- "mumtaz_accuracy": 0.6693,
158
- "mat_accuracy": 0.125,
159
- "seedv_accuracy": 0.0132,
160
  "#Params (M)": null,
161
  "embed_dim": null,
162
  "trainable_params": null,
@@ -177,14 +177,14 @@
177
  "Average ⬆️": 14.02,
178
  "physionet_accuracy": 0.2713,
179
  "bcic2a_accuracy": 0.047,
180
- "bcic-2020-3_accuracy": 0.0228,
181
  "tuev_accuracy": 0.1305,
182
  "tuab_accuracy": 0.1005,
183
  "isruc_sleep_accuracy": 0.249,
184
  "faced_accuracy": 0.0121,
185
- "mumtaz_accuracy": 0.558,
186
- "mat_accuracy": -0.0025,
187
- "seedv_accuracy": 0.0131,
188
  "#Params (M)": null,
189
  "embed_dim": null,
190
  "trainable_params": null,
@@ -205,14 +205,14 @@
205
  "Average ⬆️": 36.11,
206
  "physionet_accuracy": 0.4352,
207
  "bcic2a_accuracy": 0.3106,
208
- "bcic-2020-3_accuracy": 0.0541,
209
  "tuev_accuracy": 0.3569,
210
  "tuab_accuracy": 0.5837,
211
  "isruc_sleep_accuracy": 0.7215,
212
  "faced_accuracy": 0.0566,
213
- "mumtaz_accuracy": 0.7409,
214
- "mat_accuracy": 0.2644,
215
- "seedv_accuracy": 0.0871,
216
  "#Params (M)": null,
217
  "embed_dim": null,
218
  "trainable_params": null,
@@ -233,14 +233,14 @@
233
  "Average ⬆️": 32.24,
234
  "physionet_accuracy": 0.3767,
235
  "bcic2a_accuracy": 0.1911,
236
- "bcic-2020-3_accuracy": 0.0884,
237
  "tuev_accuracy": 0.3791,
238
  "tuab_accuracy": null,
239
  "isruc_sleep_accuracy": 0.6464,
240
  "faced_accuracy": 0.1672,
241
- "mumtaz_accuracy": 0.6811,
242
- "mat_accuracy": 0.2954,
243
- "seedv_accuracy": 0.0763,
244
  "#Params (M)": null,
245
  "embed_dim": null,
246
  "trainable_params": null,
@@ -261,14 +261,14 @@
261
  "Average ⬆️": 36.91,
262
  "physionet_accuracy": 0.436,
263
  "bcic2a_accuracy": 0.3519,
264
- "bcic-2020-3_accuracy": 0.0406,
265
  "tuev_accuracy": 0.3845,
266
  "tuab_accuracy": 0.6112,
267
  "isruc_sleep_accuracy": 0.6196,
268
  "faced_accuracy": 0.1828,
269
- "mumtaz_accuracy": 0.6751,
270
- "mat_accuracy": 0.3227,
271
- "seedv_accuracy": 0.0662,
272
  "#Params (M)": null,
273
  "embed_dim": null,
274
  "trainable_params": null,
 
9
  "Average ⬆️": 19.09,
10
  "physionet_accuracy": 0.0171,
11
  "bcic2a_accuracy": 0.0183,
12
+ "bcic2020_3_accuracy": 0.0203,
13
  "tuev_accuracy": 0.2278,
14
  "tuab_accuracy": 0.1453,
15
  "isruc_sleep_accuracy": 0.6274,
16
  "faced_accuracy": 0.0495,
17
+ "mdd_mumtaz2016_accuracy": 0.6497,
18
+ "arithmetic_zyma2019_accuracy": 0.1052,
19
+ "seed_v_accuracy": 0.0482,
20
  "#Params (M)": null,
21
  "embed_dim": null,
22
  "trainable_params": null,
 
37
  "Average ⬆️": 22.95,
38
  "physionet_accuracy": 0.0397,
39
  "bcic2a_accuracy": 0.0575,
40
+ "bcic2020_3_accuracy": 0.0226,
41
  "tuev_accuracy": 0.3114,
42
  "tuab_accuracy": -0.0101,
43
  "isruc_sleep_accuracy": 0.6963,
44
  "faced_accuracy": 0.069,
45
+ "mdd_mumtaz2016_accuracy": 0.6331,
46
+ "arithmetic_zyma2019_accuracy": 0.3477,
47
+ "seed_v_accuracy": 0.1273,
48
  "#Params (M)": null,
49
  "embed_dim": null,
50
  "trainable_params": null,
 
65
  "Average ⬆️": 12.85,
66
  "physionet_accuracy": 0.0585,
67
  "bcic2a_accuracy": 0.0103,
68
+ "bcic2020_3_accuracy": 0.0005,
69
  "tuev_accuracy": 0.0652,
70
  "tuab_accuracy": 0.2041,
71
  "isruc_sleep_accuracy": 0.3321,
72
  "faced_accuracy": 0.0157,
73
+ "mdd_mumtaz2016_accuracy": 0.5652,
74
+ "arithmetic_zyma2019_accuracy": -0.0025,
75
+ "seed_v_accuracy": 0.0355,
76
  "#Params (M)": null,
77
  "embed_dim": null,
78
  "trainable_params": null,
 
93
  "Average ⬆️": 31.24,
94
  "physionet_accuracy": 0.4238,
95
  "bcic2a_accuracy": 0.148,
96
+ "bcic2020_3_accuracy": 0.0153,
97
  "tuev_accuracy": 0.2598,
98
  "tuab_accuracy": 0.5418,
99
  "isruc_sleep_accuracy": 0.6945,
100
  "faced_accuracy": 0.0585,
101
+ "mdd_mumtaz2016_accuracy": 0.7156,
102
+ "arithmetic_zyma2019_accuracy": 0.1111,
103
+ "seed_v_accuracy": 0.1554,
104
  "#Params (M)": null,
105
  "embed_dim": null,
106
  "trainable_params": null,
 
121
  "Average ⬆️": 18.9,
122
  "physionet_accuracy": 0.0822,
123
  "bcic2a_accuracy": 0.062,
124
+ "bcic2020_3_accuracy": 0.0082,
125
  "tuev_accuracy": 0.2057,
126
  "tuab_accuracy": 0.4298,
127
  "isruc_sleep_accuracy": 0.3592,
128
  "faced_accuracy": 0.0709,
129
+ "mdd_mumtaz2016_accuracy": 0.555,
130
+ "arithmetic_zyma2019_accuracy": 0.1014,
131
+ "seed_v_accuracy": 0.0153,
132
  "#Params (M)": null,
133
  "embed_dim": null,
134
  "trainable_params": null,
 
149
  "Average ⬆️": 25.83,
150
  "physionet_accuracy": 0.3904,
151
  "bcic2a_accuracy": 0.1389,
152
+ "bcic2020_3_accuracy": 0.006,
153
  "tuev_accuracy": 0.0671,
154
  "tuab_accuracy": 0.4067,
155
  "isruc_sleep_accuracy": 0.6211,
156
  "faced_accuracy": 0.1449,
157
+ "mdd_mumtaz2016_accuracy": 0.6693,
158
+ "arithmetic_zyma2019_accuracy": 0.125,
159
+ "seed_v_accuracy": 0.0132,
160
  "#Params (M)": null,
161
  "embed_dim": null,
162
  "trainable_params": null,
 
177
  "Average ⬆️": 14.02,
178
  "physionet_accuracy": 0.2713,
179
  "bcic2a_accuracy": 0.047,
180
+ "bcic2020_3_accuracy": 0.0228,
181
  "tuev_accuracy": 0.1305,
182
  "tuab_accuracy": 0.1005,
183
  "isruc_sleep_accuracy": 0.249,
184
  "faced_accuracy": 0.0121,
185
+ "mdd_mumtaz2016_accuracy": 0.558,
186
+ "arithmetic_zyma2019_accuracy": -0.0025,
187
+ "seed_v_accuracy": 0.0131,
188
  "#Params (M)": null,
189
  "embed_dim": null,
190
  "trainable_params": null,
 
205
  "Average ⬆️": 36.11,
206
  "physionet_accuracy": 0.4352,
207
  "bcic2a_accuracy": 0.3106,
208
+ "bcic2020_3_accuracy": 0.0541,
209
  "tuev_accuracy": 0.3569,
210
  "tuab_accuracy": 0.5837,
211
  "isruc_sleep_accuracy": 0.7215,
212
  "faced_accuracy": 0.0566,
213
+ "mdd_mumtaz2016_accuracy": 0.7409,
214
+ "arithmetic_zyma2019_accuracy": 0.2644,
215
+ "seed_v_accuracy": 0.0871,
216
  "#Params (M)": null,
217
  "embed_dim": null,
218
  "trainable_params": null,
 
233
  "Average ⬆️": 32.24,
234
  "physionet_accuracy": 0.3767,
235
  "bcic2a_accuracy": 0.1911,
236
+ "bcic2020_3_accuracy": 0.0884,
237
  "tuev_accuracy": 0.3791,
238
  "tuab_accuracy": null,
239
  "isruc_sleep_accuracy": 0.6464,
240
  "faced_accuracy": 0.1672,
241
+ "mdd_mumtaz2016_accuracy": 0.6811,
242
+ "arithmetic_zyma2019_accuracy": 0.2954,
243
+ "seed_v_accuracy": 0.0763,
244
  "#Params (M)": null,
245
  "embed_dim": null,
246
  "trainable_params": null,
 
261
  "Average ⬆️": 36.91,
262
  "physionet_accuracy": 0.436,
263
  "bcic2a_accuracy": 0.3519,
264
+ "bcic2020_3_accuracy": 0.0406,
265
  "tuev_accuracy": 0.3845,
266
  "tuab_accuracy": 0.6112,
267
  "isruc_sleep_accuracy": 0.6196,
268
  "faced_accuracy": 0.1828,
269
+ "mdd_mumtaz2016_accuracy": 0.6751,
270
+ "arithmetic_zyma2019_accuracy": 0.3227,
271
+ "seed_v_accuracy": 0.0662,
272
  "#Params (M)": null,
273
  "embed_dim": null,
274
  "trainable_params": null,
frontend/src/pages/LeaderboardPage/components/Leaderboard/constants/chartDefaults.js CHANGED
@@ -21,7 +21,7 @@ export const BENCHMARK_LABELS = {
21
  tuev: "TUEV",
22
  chbmit: "CHB-MIT",
23
  faced: "FACED",
24
- seedv: "SEED-V",
25
  };
26
 
27
  export const BENCHMARK_KEYS = Object.keys(BENCHMARK_LABELS);
 
21
  tuev: "TUEV",
22
  chbmit: "CHB-MIT",
23
  faced: "FACED",
24
+ seed_v: "SEED-V",
25
  };
26
 
27
  export const BENCHMARK_KEYS = Object.keys(BENCHMARK_LABELS);
frontend/src/pages/LeaderboardPage/components/Leaderboard/constants/defaults.js CHANGED
@@ -143,7 +143,7 @@ const COLUMNS = {
143
  defaultVisible: false,
144
  label: "FACED",
145
  },
146
- "evaluations.seedv.normalized_score": {
147
  group: "evaluation",
148
  size: COLUMN_SIZES.BENCHMARK,
149
  defaultVisible: false,
 
143
  defaultVisible: false,
144
  label: "FACED",
145
  },
146
+ "evaluations.seed_v.normalized_score": {
147
  group: "evaluation",
148
  size: COLUMN_SIZES.BENCHMARK,
149
  defaultVisible: false,
frontend/src/pages/LeaderboardPage/components/Leaderboard/utils/columnUtils.js CHANGED
@@ -291,10 +291,10 @@ const DATASET_URLS = {
291
  isruc_sleep: "https://huggingface.co/datasets/braindecode/isruc-sleep",
292
  tuab: "https://huggingface.co/datasets/braindecode/tuab",
293
  tuev: "https://huggingface.co/datasets/braindecode/tuev",
294
- mumtaz: "https://huggingface.co/datasets/braindecode/mdd_mumtaz2016",
295
- mat: "https://huggingface.co/datasets/braindecode/arithmetic_zyma2019",
296
  faced: "https://huggingface.co/datasets/braindecode/faced",
297
- seedv: "https://huggingface.co/datasets/braindecode/seed-v",
298
  };
299
 
300
  const getDetailsUrl = (modelName) => {
@@ -853,12 +853,12 @@ export const createColumns = (
853
  ],
854
  },
855
  {
856
- accessorKey: "evaluations.seedv.normalized_score",
857
- header: createHeaderCell("SEED-V", COLUMN_TOOLTIPS.SEEDV, DATASET_URLS.seedv),
858
  cell: ({ row, getValue }) =>
859
- createScoreCell(getValue, row, "evaluations.seedv.normalized_score"),
860
  size: TABLE_DEFAULTS.COLUMNS.COLUMN_SIZES[
861
- "evaluations.seedv.normalized_score"
862
  ],
863
  },
864
  ];
 
291
  isruc_sleep: "https://huggingface.co/datasets/braindecode/isruc-sleep",
292
  tuab: "https://huggingface.co/datasets/braindecode/tuab",
293
  tuev: "https://huggingface.co/datasets/braindecode/tuev",
294
+ mdd_mumtaz2016: "https://huggingface.co/datasets/braindecode/mdd_mumtaz2016",
295
+ arithmetic_zyma2019: "https://huggingface.co/datasets/braindecode/arithmetic_zyma2019",
296
  faced: "https://huggingface.co/datasets/braindecode/faced",
297
+ seed_v: "https://huggingface.co/datasets/braindecode/seed-v",
298
  };
299
 
300
  const getDetailsUrl = (modelName) => {
 
853
  ],
854
  },
855
  {
856
+ accessorKey: "evaluations.seed_v.normalized_score",
857
+ header: createHeaderCell("SEED-V", COLUMN_TOOLTIPS.SEEDV, DATASET_URLS.seed_v),
858
  cell: ({ row, getValue }) =>
859
+ createScoreCell(getValue, row, "evaluations.seed_v.normalized_score"),
860
  size: TABLE_DEFAULTS.COLUMNS.COLUMN_SIZES[
861
+ "evaluations.seed_v.normalized_score"
862
  ],
863
  },
864
  ];