Question
How does k-nearest neighbors classify a new observation?
Select an option. Your answer will be checked instantly.
Correct Answer: A. By using the classes of the k closest training observations
Explanation:
KNN stores the training data and performs local voting at prediction time.
The chosen distance metric defines closeness.
Leave a Reply