MicrolearnENPTES

Normalization

Lesson 7 of 18 · DS.Micro

In the wine dataset, Proline ranges from 278 to 1680 while Hue stays near 1. For methods that measure distance, the larger column dominates everything.

Standardizing gives each column mean 0 and standard deviation 1.

In Orange, normalization lives in the Preprocess widget, under "Normalize Features". Orange's kNN and k-Means also normalize by default.

Use "Standardize" and check: the mean of Proline = 0.

Check yourself

Why normalize before a kNN?

Do it in the browser: a real data science tool, a short mission and instant feedback. No install.

Start this lesson — free
← Missing valuesYour first model: kNN →

All lessons · DS.Micro