pyriemann_qiskit.utils.preprocessing.Devectorizer

class pyriemann_qiskit.utils.preprocessing.Devectorizer(n_features, n_samples)[source]

Transform vector to matrices

This is an auxiliary transformer that allows one to transform vectors of shape (n_features x n_samples) into matrices of size (n_features, n_samples)

Parameters:
  • n_features (int) – The number of features of the matrices.

  • n_samples (int) – The number of samples of the matrices.

Notes

Added in version 0.0.1.

Changed in version 0.3.0: Move from filtering to preprocessing module. Fix documentation.

__init__(n_features, n_samples)[source]

Methods

__init__(n_features, n_samples)

fit(X[, y])

Fit the training data.

fit_transform(X[, y])

Fit to data, then transform it.

set_output(*[, transform])

Set output container.

transform(X[, y])

Transform vectors into matrices.