gemseo / mlearning / transformers / dimension_reduction

Show inherited members

dimension_reduction module

Dimension reduction as a generic transformer.

The DimensionReduction class implements the concept of dimension reduction.

See also

pca

class gemseo.mlearning.transformers.dimension_reduction.dimension_reduction.DimensionReduction(name='', n_components=None, **parameters)[source]

Bases: Transformer

Dimension reduction.

Parameters:
  • name (str) –

    A name for this transformer.

    By default it is set to “”.

  • n_components (int | None) – The number of components of the latent space. If None, use the maximum number allowed by the technique, typically min(n_samples, n_features).

  • **parameters (bool | int | float | str | None) – The parameters of the transformer.

property n_components: int

The number of components.

name: str

The name of the transformer.

Examples using DimensionReduction

KL-SVD on Burgers equation

KL-SVD on Burgers equation

PCA on Burgers equation

PCA on Burgers equation