CADETProcess.transform.NormLinearTransform

CADETProcess.transform.NormLinearTransform#

class CADETProcess.transform.NormLinearTransform(lb_input=-inf, ub_input=inf, allow_extended_input=False, allow_extended_output=False)[source]#

A class that implements a normalized linear transformation.

Transforms the input value to the range [0, 1] by normalizing it using the lower and upper bounds of the input parameter space.

Attributes:
is_linear

bool: True if transformation is linear.

lb

{float, array-like}: The lower bounds of the output parameter space.

lb_input

{float, array-like}: The lower bounds of the input parameter space.

ub

{float, array-like}: The upper bounds of the output parameter space.

ub_input

{float, array-like}: The upper bounds of the input parameter space.

Methods

plot(ax[, use_log_scale])

Plot the transformed space against the input space.

transform(x)

Transform the input parameter space to the output parameter space.

untransform(x)

Transform the output parameter space to the input parameter space.

See also

TransformBase

The base class for parameter transformation.