braindecode.datasets.RawDataset#
- class braindecode.datasets.RawDataset(raw, description=None, target_name=None, transform=None)[source]#
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.
- Parameters:
raw (
BaseRaw) – Continuous data.description (
dict|Series|None) – Holds additional description about the continuous signal / subject.target_name (
str|tuple[str,...] |None) – Name(s) of the index in description that should be used to provide the target (e.g., to be used in a prediction task later on).transform (
Callable|None) – On-the-fly transform applied to the example before it is returned.
Examples using braindecode.datasets.RawDataset#
Convolutional neural network regression model on fake data.
Convolutional neural network regression model on fake data.