Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Scaling?

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

Baca dalam konteks →