snowflake.ml.modeling.preprocessing.Normalizer¶
- class snowflake.ml.modeling.preprocessing.Normalizer(*, norm: str = 'l2', input_cols: str | Iterable[str] | None = None, output_cols: str | Iterable[str] | None = None, drop_input_cols: bool | None = False)¶
Bases:
BaseTransformer
Methods
fit
(dataset)Does nothing, because the normalizer is a stateless transformer.
transform
(dataset)Scale each nonzero row of the input dataset to the unit norm.