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.
- Raw Features Have Different Scales
measure per-column ranges before rescaling mixed-unit features
- Min and Max Are Pinned
pin per-column min and max bounds on the training prefix only
- Scale One Row
map one row into unit-interval coordinates column by column
- Scale the Table
broadcast column min-max vectors across a full 2D feature table
- Distance Changes After Scaling
watch nearest-neighbor rankings flip once columns share [0, 1] scale
- Apply Scaling to a New Row
transform an out-of-range unseen row without refitting or clamping
- What Scaling Is and Is Not
separate models unchanged by scaling from models reshaped by scaling