pyeeg.preprocess.Whitener.fit_transform

Whitener.fit_transform(X, y=None, axis=None)

Fit the whitener on X and return the whitened data.

Parameters:
  • X (ndarray) – Training data.

  • y (ignored) – Present for scikit-learn API compatibility.

  • axis (int, optional) – Axis along which samples run. If None, self.axis is used.

Returns:

X_white – Whitened data, of the same shape as X.

Return type:

ndarray