Question
How is k commonly selected for KNN?
Select an option. Your answer will be checked instantly.
Correct Answer: B. By comparing validation or cross-validation performance
Explanation:
K is a hyperparameter controlling local smoothness.
Validation estimates which value generalizes best.
Leave a Reply