eegdash.features.feature_bank.csp#

Classes

class eegdash.features.feature_bank.csp.CommonSpatialPattern[source]#

Bases: TrainableFeature

clear()[source]#

Reset the internal state of the feature extractor.

partial_fit(x, y=None)[source]#

Update the feature extractor’s state with a batch of data.

Parameters:
  • *x (tuple) – The input data for fitting.

  • y (any, optional) – The target data, if required for supervised training.

static transform_input(x)[source]#
fit()[source]#

Finalize the training of the feature extractor.

This method should be called after all data has been seen via partial_fit. It marks the feature as fitted.

feature_kind = <eegdash.features.extractors.MultivariateFeature object>#
parent_extractor_type = (None, <function signal_hilbert_preprocessor>)#