bigframes.ml.preprocessing.MaxAbsScaler#

class bigframes.ml.preprocessing.MaxAbsScaler[source]#

Scale each feature by its maximum absolute value.

This estimator scales and translates each feature individually such that the maximal absolute value of each feature in the training set will be 1.0. It does not shift/center the data, and thus does not destroy any sparsity.

Methods

__init__()

fit(X[, y])

Compute the maximum absolute value to be used for later scaling.

fit_transform(X[, y])

Fit to data, then transform it.

get_params([deep])

Get parameters for this estimator.

to_gbq(model_name[, replace])

Save the transformer as a BigQuery model.

transform(X)

Scale the data.