CADETProcess.transform.AutoTransformer#

class CADETProcess.transform.AutoTransformer(*args: Any, threshold: int = 100, **kwargs: Any)[source]#

Bases: TransformerBase

A transformer that automatically selects between linear and logarithmic transformations.

Transforms the input value to the range [0, 1] using either the NormLinearTransformer or the NormLogTransformer based on the input parameter space.

Attributes:
linearNormLinearTransformer

Instance of the linear normalization transform.

logNormLogTransformer

Instance of the logarithmic normalization transform.

thresholdint

The maximum threshold to switch from linear to logarithmic transformation.

property is_linear: bool#

Return True if linear transformation is used, otherwise False.

property lb: float#

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

property lb_input: float | ndarray#

Return the lower bounds of the input parameter space.

property ub: float#

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

property ub_input: float | ndarray#

Return the upper bounds of the input parameter space.

property use_linear: bool#

Determine whether linear transformation should be used.

property use_log: bool#

Return True if logarithmic transformation is used, otherwise False.