bigframes.ml.preprocessing.MaxAbsScaler.fit#
- MaxAbsScaler.fit(X: DataFrame | Series | DataFrame | Series, y=None) MaxAbsScaler[source]#
Compute the maximum absolute value to be used for later scaling.
- Parameters:
X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – The Dataframe or Series with training data.
y (default None) – Ignored.
- Returns:
Fitted scaler.
- Return type: