CADETProcess.transform.AutoTransformer

Contents

CADETProcess.transform.AutoTransformer#

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

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.

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.