Also called k-NN and Nearest neighbour classification.
fresh numbers
The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from k-nearest neighbours's own run on the numbers shown.
choose one
1question 1
A new point at 9 across, 10 up, among 2 2 c, 8 8 t, 10 6 t, 1 8 c, 1 9 t, 2 7 c, 7 8 s and 8 9 s, with k = 5. How many distances are measured?
the answer, and why
the answer is D
One for each of the 8 points, before any vote.
if you chose another
AThat counts only the 5 that vote.
BThat counts every step of the run, the start, the ring, the vote and the verdict too.
CThat is the nearest point alone; it is found only after all 8 are measured.