| MaxAbsScaler | R Documentation |
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.
This scaler can also be applied to sparse CSR or CSC matrices.
rgudhi::PythonClass -> rgudhi::SKLearnClass -> rgudhi::BaseScaler -> MaxAbsScaler
new()The MaxAbsScaler class constructor.
MaxAbsScaler$new(copy = TRUE)
copyA boolean value specifying whether to perform in-place
scaling and avoid a copy (if the input is already a numpy array).
Defaults to TRUE.
An object of class MaxAbsScaler.
clone()The objects of this class are cloneable with this method.
MaxAbsScaler$clone(deep = FALSE)
deepWhether to make a deep clone.
mas <- MaxAbsScaler$new()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.