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.
Data Type Compatibility: Continuous
This transformer does not have any parameters.
Return the maximum absolute values for each feature column:
public maxabs() : array
use Rubix\ML\Transformers\MaxAbsoluteScaler; $transformer = new MaxAbsoluteScaler();