CADETProcess.transform.NullTransformer

Contents

CADETProcess.transform.NullTransformer#

class CADETProcess.transform.NullTransformer(lb_input: float | ndarray = -inf, ub_input: float | ndarray = inf, allow_extended_input: bool | None = False, allow_extended_output: bool | None = False)[source]#

A transformer that performs no transformation.

This class simply returns the input values as output without modification.

Attributes:
is_linear

Return True, as this is a linear transformation.

lb

Return the lower bound of the output space (same as input lower bound).

lb_input

Return the lower bounds of the input parameter space.

ub

Return the upper bound of the output space (same as input upper bound).

ub_input

Return the upper bounds of the input parameter space.

Methods

plot([use_log_scale, ax, setup_figure_kwargs])

Plot the transformed space against the input space.

transform(x)

Transform the input parameter space to the output parameter space.

untransform(x[, significant_digits])

Transform the output parameter space back to the input parameter space.

See also

TransformerBase

The base class for parameter transformation.