Examples#

Learn how to use braindecode by the examples. There are several ways to learn and understand how a library works. Here at braindecode, we encourage hands-on mode.

See which tutorial best fits the approach you want and try to reproduce it on the examples data or on your data :)

Basic model building and training#

Examples introducing fundamental model building and training strategies.

Simple training on MNE epochs

Simple training on MNE epochs

Cropped Decoding on BCIC IV 2a Dataset

Cropped Decoding on BCIC IV 2a Dataset

Basic Brain Decoding on EEG Data

Basic Brain Decoding on EEG Data

How to train, test and tune your model?

How to train, test and tune your model?

Hyperparameter tuning with scikit-learn

Hyperparameter tuning with scikit-learn

Convolutional neural network regression model on fake data.

Convolutional neural network regression model on fake data.

Training a Braindecode model in PyTorch

Training a Braindecode model in PyTorch

Loading and organizing data#

Examples introducing data loading and basic data processing.

Benchmarking eager and lazy loading

Benchmarking eager and lazy loading

Benchmarking preprocessing with parallelization and serialization

Benchmarking preprocessing with parallelization and serialization

Custom Dataset Example

Custom Dataset Example

Load and save dataset example

Load and save dataset example

MNE Dataset Example

MNE Dataset Example

MOABB Dataset Example

MOABB Dataset Example

Split Dataset Example

Split Dataset Example

Multiple discrete targets with the TUH EEG Corpus

Multiple discrete targets with the TUH EEG Corpus

Advanced neural network training strategies#

Examples explaining more advanced topics in neural network training strategies.

Fingers flexion cropped decoding on BCIC IV 4 ECoG Dataset

Fingers flexion cropped decoding on BCIC IV 4 ECoG Dataset

Data Augmentation on BCIC IV 2a Dataset

Data Augmentation on BCIC IV 2a Dataset

Searching the best data augmentation on BCIC IV 2a Dataset

Searching the best data augmentation on BCIC IV 2a Dataset

Self-supervised learning on EEG with relative positioning

Self-supervised learning on EEG with relative positioning

Applied examples on real-world datasets#

Examples demonstrating analaysis of EEG on data from clinical studies, sleep & cognitive experiments.

Fingers flexion decoding on BCIC IV 4 ECoG Dataset

Fingers flexion decoding on BCIC IV 4 ECoG Dataset

Sleep staging on the Sleep Physionet dataset using Chambon2018 network

Sleep staging on the Sleep Physionet dataset using Chambon2018 network

Sleep staging on the Sleep Physionet dataset using Eldele2021

Sleep staging on the Sleep Physionet dataset using Eldele2021

Sleep staging on the Sleep Physionet dataset using U-Sleep network

Sleep staging on the Sleep Physionet dataset using U-Sleep network

Process a big data EEG resource (TUH EEG Corpus)

Process a big data EEG resource (TUH EEG Corpus)

Gallery generated by Sphinx-Gallery