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 0 across, 7 up, among 3 2 t, 7 1 s, 2 7 s, 10 4 s, 10 6 t, 10 9 t and 8 5 t, with k = 3. How many distances are measured?
the answer, and why
the answer is A
One for each of the 7 points, before any vote.
if you chose another
BThat counts only the 3 that vote.
CThat counts every step of the run, the start, the ring, the vote and the verdict too.
DThat is the nearest point alone; it is found only after all 7 are measured.