Max Abs Scaler

../../../../_images/scaler.svg

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.

Documentation

Attributes

max_abs_

Per feature maximum absolute value.

n_samples_seen_

The number of samples processed by the estimator. Will be reset on new calls to fit, but increments across partial_fit calls.

scale_

Per feature relative scaling of the data.

New in version 0.17: scale_ attribute.

Definition

Output ports

model model

Model

Implementation

class node_preprocessing.MaxAbsScaler[source]