MaxAbsNormaliser

class frlearn.feature_preprocessors.MaxAbsNormaliser[source]

Implementation of the maximum absolute value normaliser. Rescales all features by dividing through their maximum absolute value, ensuring that the values of each feature lie in [-1, 1], although the range of feature will in general be less than 2.

Notes

If the maximum absolute value of a feature is 0, that feature is left unscaled.

class Model