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)

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

Methods

on_epoch_end(net, dataset_train, dataset_valid, **kwargs)

Called at the end of each epoch.

Examples using braindecode.training.CroppedTrialEpochScoring