pyeeg.preprocess.Whitener.fit_transform
- Whitener.fit_transform(X, y=None, axis=None)
Fit the whitener on
Xand 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.axisis used.
- Returns:
X_white – Whitened data, of the same shape as
X.- Return type:
ndarray