pyriemann_qiskit.utils.preprocessing.Vectorizer¶
- class pyriemann_qiskit.utils.preprocessing.Vectorizer[source]¶
Vectorization.
This is an auxiliary transformer that allows one to vectorize data structures in a pipeline. For instance, in the case of an X with dimensions (n_samples, n_features, n_channels), one might be interested in a new data structure with dimensions (n_samples, n_features x n_channels)
Notes
Added in version 0.0.1.
Changed in version 0.3.0: Move from filtering to preprocessing module. Fix documentation.
Methods
__init__()fit(X, y)Fit the training data.
fit_transform(X[, y])Fit to data, then transform it.
get_metadata_routing()Get metadata routing of this object.
get_params([deep])Get parameters for this estimator.
set_output(*[, transform])Set output container.
set_params(**params)Set the parameters of this estimator.
transform(X)Vectorize matrices.