Feature Scaling, Exactly

Pin training minimums and maximums, rescale rows and tables into unit intervals, and see where scaling changes predictions and where it does not.

Exact Min-Max Feature Scaling

Measure column spans, pin training bounds, transform tables and unseen rows, and test scaling invariance.

  1. Raw Features Have Different Scales

    measure per-column ranges before rescaling mixed-unit features

  2. Min and Max Are Pinned

    pin per-column min and max bounds on the training prefix only

  3. Scale One Row

    map one row into unit-interval coordinates column by column

  4. Scale the Table

    broadcast column min-max vectors across a full 2D feature table

  5. Distance Changes After Scaling

    watch nearest-neighbor rankings flip once columns share [0, 1] scale

  6. Apply Scaling to a New Row

    transform an out-of-range unseen row without refitting or clamping

  7. What Scaling Is and Is Not

    separate models unchanged by scaling from models reshaped by scaling