braindecode.training.CroppedTrialEpochScoring#

class braindecode.training.CroppedTrialEpochScoring(scoring, lower_is_better=True, on_train=False, name=None, target_extractor=<function to_numpy>, use_caching=True)[source]#

Class to compute scores for trials from a model that predicts (super)crops.

Methods

on_batch_end(net, batch, y_pred, training, **kwargs)[source]#

Called at the end of each batch.

on_epoch_end(net, dataset_train, dataset_valid, **kwargs)[source]#

Called at the end of each epoch.

Examples using braindecode.training.CroppedTrialEpochScoring#

Fingers flexion cropped decoding on BCIC IV 4 ECoG Dataset

Fingers flexion cropped decoding on BCIC IV 4 ECoG Dataset