optimization.scaling.power

Power Scaler Module

This module contains the PowerScaler class, which is a scaler that performs a power transformation on the value.

Kramer Harrison, 2025

Classes

PowerScaler([power])

Represents a scaler that performs a power transformation on the value.

class PowerScaler(power=1.0)[source]

Represents a scaler that performs a power transformation on the value.

inverse_scale(scaled_value)[source]

Inverse scale the value using a power transformation.

Parameters:

scaled_value – The scaled value to inverse scale

property monotonic: bool

Returns True if the scaler is monotonic increasing, False otherwise.

scale(value)[source]

Scale the value using a power transformation.

Parameters:

value – The value to scale

transform_bounds(min_val, max_val)

Transforms the bounds according to the scaler’s behavior.