Package smile.feature.transform
Interface MaxAbsScaler
public interface MaxAbsScaler
Scales each feature by its maximum absolute value. This class 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.
-
Method Summary
Static Methods
-
Method Details
-
fit
Fits the data transformation.- Parameters:
data
- the training data.columns
- the columns to transform. If empty, transform all the numeric columns.- Returns:
- the transform.
-