verticapy.machine_learning.memmodel.preprocessing.Scaler¶
- class verticapy.machine_learning.memmodel.preprocessing.Scaler(sub: Annotated[list | ndarray, 'Array Like Structure'], den: Annotated[list | ndarray, 'Array Like Structure'])¶
InMemoryModelimplementation 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: Annotated[list | ndarray, 'Array Like Structure'], den: Annotated[list | ndarray, 'Array Like Structure']) None¶
Methods
__init__(sub, den)Returns the model attributes.
set_attributes(**kwargs)Sets the model attributes.
transform(X)Transforms and applies the
Scalermodel to the input matrix.Transforms and returns the SQL needed to deploy the
Scaler.Attributes
Must be overridden in child class