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#

True if linear transformation is used, False otherwise.

property lb: float#

Lower bound of the output parameter space (0).

property lb_input: float | ndarray#

Lower bounds of the input parameter space.

property ub: float#

Upper bound of the output parameter space (1).

property ub_input: float | ndarray#

Upper bounds of the input parameter space.

property use_linear: bool#

Determine whether linear transformation should be used.

property use_log: bool#

True if logarithmic transformation is used, False otherwise.