Mental imagery classification

Name: mental imagery
Category: brain-computer interfacing
Dataset: Scherer2015Individually (MOABB alias BNCI2015_004)
Objective: Multiclass classification (5 classes)
Split: PredefinedSplit, session 1 held out as test
Epoch window: start = 3.0 s, duration = 4.0 s (aligned with the imagery period of the paradigm)

Usage

neuralbench eeg mental_imagery
Show config.yaml
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

data:
  study:
    source:
      name: Scherer2015Individually
    split:
      name: PredefinedSplit
      test_split_query: "session == '1'"
      col_name: split
      valid_split_by: _index
      valid_split_ratio: 0.1
      valid_random_state: 33
  target:
    =replace=: true
    name: LabelEncoder
    event_types: Stimulus
    event_field: code
    return_one_hot: true
    aggregation: trigger
  trigger_event_type: Stimulus
  start: 3.0
  duration: 4.0
  summary_columns: [code]
brain_model_output_size: &brain_model_output_size 5
trainer_config.monitor: val/bal_acc
trainer_config.mode: max
trainer_config.patience: 15
trainer_config.n_epochs: 100
lightning_optimizer_config.optimizer.lr: 5.0e-4
lightning_optimizer_config.scheduler.kwargs.max_lr: 5.0e-4
loss:
  name: CrossEntropyLoss
metrics: !!python/object/apply:neuralbench.defaults.metrics.get_classification_metric_configs
  - *brain_model_output_size

Description

The mental imagery classification task decodes five distinct mental imagery tasks from 30-channel EEG recorded at 256 Hz while nine users with spinal-cord injury or stroke performed a cue-guided paradigm [Scherer2015]. The classes, as they appear in the raw GDF annotations of the dataset, are math (mental arithmetic), letter (letter association / spelling), rotation (mental rotation), count (mental counting), and baseline. The dataset contains 3550 trials (710 per class, perfectly balanced) across 18 timelines (9 subjects x 2 sessions).

References

[Scherer2015]

Scherer, R., Faller, J., Friedrich, E. V. C., Opisso, E., Costa, U., Kuebler, A., and Mueller-Putz, G. R. “Individually Adapted Imagery Improves Brain-Computer Interface Performance in End-Users with Disability.” PLOS ONE 10.5 (2015): e0123727. https://doi.org/10.1371/journal.pone.0123727