moabb.paradigms.base.BaseParadigm#

class moabb.paradigms.base.BaseParadigm(filters, events: Optional[List[str]] = None, tmin=0.0, tmax=None, baseline=None, channels=None, resample=None)[source]#

Base class for paradigms.

Parameters

events (List of str | None (default None)) – event to use for epoching. If None, default to all events defined in the dataset.

abstract property scoring#

Property that defines scoring metric (e.g. ROC-AUC or accuracy or f-score), given as a sklearn-compatible string or a compatible sklearn scorer.