Normalizer

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

Some of the docstrings for this module have been automatically extracted from the scikit-learn library and are covered by their respective licenses.

class node_preprocessing.Normalizer[source]

Normalize samples individually to unit norm.

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.

Configuration:
  • norm

    The norm to use to normalize each non zero sample.

Attributes:
Inputs:
Outputs:
model : model

Model