CADETProcess.transform.NormLinearTransformer#

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

Bases: TransformerBase

A transformer that normalizes values linearly to the range [0, 1].

This transformation scales the input value between the given lower and upper bounds into a normalized range of [0,1].

See also

TransformerBase

The base class for parameter transformation.

property is_linear: bool#

Return True, as this is a linear transformation.

property lb: float#

Return the lower bound of the output space (0).

property ub: float#

Return the upper bound of the output space (1).