Skip to content

Preprocessing normalizer

github-actions[bot] edited this page Sep 23, 2026 · 1 revision

Development build. This page describes main, not a released package. The latest published Lodestar.Preprocessing is 0.1.0 — read its documentation.

HomePreprocessingFeature transforming

Normalizer

Scales each row to unit norm, at sklearn.preprocessing.Normalizer parity.

The one member of this package that fits nothing: every row is scaled by its own norm, so there is no statistic to learn from a training set and no state for an instance to carry. The reference is a transformer all the same, with a fit that only validates — so this is static.

Rows, not features. Every other member here scales a column; this one scales a row, which is what a distance or a dot product between two rows reads afterwards.

Members

Member What it does
Normalizer.Transform Scales each row of a matrix to unit norm.

Clone this wiki locally