IBL & NN Flashcards
1
Q
What is a Nearest Neighbour?
A
The closest data point: maximum similarity or minimum distance.
2
Q
Nearest Neighbour variants
A
- 1NN
2. KNN
3
Q
1NN
A
Classify the test input according to the class of the closest training instance
4
Q
KNN
A
Classify the test input according to the majority class of the K nearest training instances
5
Q
weighted K-NN
A
Classify the test input according to the weighted accumulative class of the K nearest training instances, where weights are based on similarity of the input to each of the K neighbours
6
Q
offset-weighted K-NN
A
Classify the test input according to the weighted accumulative class of the K nearest training instances, where weights are based on similarity of the input to each of the K neighbours, factoring in an offset for the prior expectation of a test input being a member of that class