Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Scaling » ?

Definition 19.3 High School Computer Science · Chapitre 19 — Classifying by Neighbours: the k-NN Algorithm

Scaling the features means changing each one by the same rule for every item so that all of them cover comparable ranges. Min-max scaling replaces a value vv of a feature by (v−lo)/(hi−lo)(v - \mathit{lo}) / (\mathit{hi} - \mathit{lo}), where lo\mathit{lo} and hi\mathit{hi} are the smallest and largest values of that feature in the training set; the results lie between 00 and 11 on the training set.

Lire dans le chapitre →