pyriemann_qiskit.utils.filtering.NaiveDimRed

class pyriemann_qiskit.utils.filtering.NaiveDimRed(is_even=True)[source]

Naive dimensional reduction.

Reduce the dimension of the feature by two,

Parameters:

is_even (bool (default: True)) –

  • If true keep only even indices of feature vectors.

  • If false, keep only odd indices of feature vectors.

Notes

Added in version 0.0.1.

__init__(is_even=True)[source]

Methods

__init__([is_even])

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)

Divide the feature dimension by two, keeping even (odd) indices if is_even is True (False).