Question
What is the best way to choose k for a k-NN model?
Select an option. Your answer will be checked instantly.
Correct Answer: C. Compare candidate values using validation performance
Explanation:
Validation estimates how different k values generalize without using the final test set. The selected k should balance local flexibility against oversmoothing.
Leave a Reply