Scaler#
- class reservoirflow.scalers.Scaler(output_range: tuple | None = None, input_range: tuple | None = None)#
Bases:
ABC
Abstract scaler class.
Attention
This is an abstract class and can’t be instantiated. This class is only used as a parent for other classes of
scalers
module.- Returns:
Scaler object.
- Return type:
Construct scaler object.
- Parameters:
output_range (tuple, optional) – output range used in the transformation.
input_range (tuple, optional) – input range used in the transformation.
Attributes
Class name.
Methods
fit
(v[, axis])Fit scaler with input values.
fit_transform
(v[, axis])Fit scaler and transform input based on output range.
inverse_transform
(vbar)Transform input back to the original (input) range.
set_output_range
(output_range)Set output range for the scaler.
transform
(v)Transform input based on output range.
Comments 💬#
Feel free to make a comment, ask a question, or share your opinion about this specific content. Please keep in mind the Commenting Guidelines ⚖.