Skip to content

[source]

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: Continuous

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


Last update: 2021-07-03