Max Absolute Scaler#
Scale the sample matrix by the maximum absolute value of each feature column independently such that the feature value is between -1 and 1.
Interfaces: Transformer, Stateful, Elastic, Reversible, Persistable
Data Type Compatibility: Categorical, Continuous, Image, Other
Parameters#
This transformer does not have any parameters.
Example#
use Rubix\ML\Transformers\MaxAbsoluteScaler;
$transformer = new MaxAbsoluteScaler();
Additional Methods#
Return the maximum absolute values for each feature column.
public maxabs() : ?array