verticapy.machine_learning.memmodel.preprocessing.Scaler#
- class verticapy.machine_learning.memmodel.preprocessing.Scaler(sub: list | ndarray, den: list | ndarray)#
InMemoryModel
implementation of scalers.Parameters#
- sub: ArrayLike
Model’s features first aggregation.
- den: ArrayLike
Model’s features second aggregation.
Attributes#
Attributes are identical to the input parameters, followed by an underscore (‘_’).
Examples#
This is a base class. To see a comprehensive example specific to your class of interest, please refer to that particular class.
- __init__(sub: list | ndarray, den: list | ndarray) None #
Methods
__init__
(sub, den)Returns the model attributes.
set_attributes
(**kwargs)Sets the model attributes.
transform
(X)Transforms and applies the
Scaler
model to the input matrix.Transforms and returns the SQL needed to deploy the
Scaler
.Attributes
Must be overridden in child class