mne.decoding.
Vectorizer
[source]¶Transform n-dimensional array into 2D array of n_samples by n_features.
This class reshapes an n-dimensional array into an n_samples * n_features array, usable by the estimators and transformers of scikit-learn.
Examples
Attributes: |
|
---|
Methods
__hash__ ($self, /) |
Return hash(self). |
fit (X[, y]) |
Store the shape of the features of X. |
fit_transform (X[, y]) |
Fit the data, then transform in one step. |
inverse_transform (X) |
Transform 2D data back to its original feature shape. |
transform (X) |
Convert given array into two dimensions. |
__hash__
($self, /)¶Return hash(self).
fit
(X, y=None)[source]¶Store the shape of the features of X.
Parameters: |
|
---|---|
Returns: |
|
fit_transform
(X, y=None)[source]¶Fit the data, then transform in one step.
Parameters: |
|
---|---|
Returns: |
|
inverse_transform
(X)[source]¶Transform 2D data back to its original feature shape.
Parameters: |
|
---|---|
Returns: |
|
transform
(X)[source]¶Convert given array into two dimensions.
Parameters: |
|
---|---|
Returns: |
|