Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Scaling?

Definition 19.3 High School Computer Science · Hoofdstuk 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.

Lees in het hoofdstuk →