lale.lib.autogen.max_abs_scaler module¶
- class lale.lib.autogen.max_abs_scaler.MaxAbsScaler(*, copy=True)¶
Bases:
PlannedIndividualOp
Combined schema for expected data and hyperparameters.
This documentation is auto-generated from JSON schemas.
- Parameters
copy (boolean, default True) – Set to False to perform inplace scaling and avoid a copy (if the input is already a numpy array).
- fit(X, y=None, **fit_params)¶
Train the operator.
Note: The fit method is not available until this operator is trainable.
Once this method is available, it will have the following signature:
- Parameters
X (array of items : array of items : float) – The data used to compute the per-feature minimum and maximum used for later scaling along the features axis.
- transform(X, y=None)¶
Transform the data.
Note: The transform method is not available until this operator is trained.
Once this method is available, it will have the following signature:
- Parameters
X (array of items : Any) – The data that should be scaled.
- Returns
result – Scale the data
- Return type
Any