Normalizer

../../../../_images/normalizer.svg

Scale each individual feature by its norm.

Documentation

Each sample (i.e. each row of the data matrix) with at least one non zero component is rescaled independently of other samples so that its norm (l1, l2 or max) equals one.

Definition

Output ports

model
Type: model
Description: Model

Configuration

Norm (norm)

The norm to use to normalize each non zero sample. If norm=’max’ is used, values will be rescaled by the maximum of the absolute values.

Implementation

class node_preprocessing.Normalizer[source]