- class braindecode.datasets.BaseDataset(raw, description=None, target_name=None, transform=None)#
Returns samples from an mne.io.Raw object along with a target.
Dataset which serves samples from an mne.io.Raw object along with a target. The target is unique for the dataset, and is obtained through the description attribute.
raw (mne.io.Raw) – Continuous data.
description (dict | pandas.Series | None) – Holds additional description about the continuous signal / subject.
transform (callable | None) – On-the-fly transform applied to the example before it is returned.