optimization.scaling.reciprocal

Reciprocal Scaler Module

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

Kramer Harrison, 2025

Classes

ReciprocalScaler()

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

class ReciprocalScaler[source]

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

inverse_scale(scaled_value)[source]

Inverse scale the value using a reciprocal 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 reciprocal transformation.

Parameters:

value – The value to scale

transform_bounds(min_val, max_val)[source]

Transforms the bounds for a reciprocal scaler.