All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Error rate?

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

The error rate of a method on a set of labelled examples is the number of examples whose predicted class differs from the known class, divided by the number of examples.

The validation error against k. Scaling lowers it for every k: with scaled features it stays between 5 and 10\,\%, while without scaling it climbs towards 20\,\% as k grows.
The validation error against kk. Scaling lowers it for every kk: with scaled features it stays between 55 and 10 %10\,\%, while without scaling it climbs towards 20 %20\,\% as kk grows.
Read in context →