braindecode.datautil.load_concat_dataset#
- braindecode.datautil.load_concat_dataset(path, preload, ids_to_load=None, target_name=None, n_jobs=1)[source]#
Load a stored BaseConcatDataset of BaseDatasets or WindowsDatasets from files.
- Parameters
path (str) – Path to the directory of the .fif / -epo.fif and .json files.
preload (bool) – Whether to preload the data.
ids_to_load (list of int | None) – Ids of specific files to load.
target_name (str | list | None) – Load specific description column as target. If not given, take saved target name.
n_jobs (int) – Number of jobs to be used to read files in parallel.
- Returns
concat_dataset
- Return type
BaseConcatDataset of BaseDatasets or WindowsDatasets
Examples using braindecode.datautil.load_concat_dataset
#
Load and save dataset example