braindecode.datasets.MOABBDataset

class braindecode.datasets.MOABBDataset(dataset_name, subject_ids)

A class for moabb datasets.

Parameters
dataset_name: name of dataset included in moabb to be fetched
subject_ids: list(int) | int

(list of) int of subject(s) to be fetched

Attributes
cummulative_sizes

Methods

split([some_property, split_ids])

Split the dataset based on some property listed in its description DataFrame or based on indices.

cumsum

__hash__(/)

Return hash(self).

split(some_property=None, split_ids=None)

Split the dataset based on some property listed in its description DataFrame or based on indices.

Parameters
some_property: str

some property which is listed in info DataFrame

split_ids: list(int)

list of indices to be combined in a subset

Returns
splits: dict{split_name: BaseConcatDataset}

mapping of split name based on property or index based on split_ids to subset of the data