1. Home
  2. Data Science
  3. K-Nearest Neighbors (KNN)
  4. What happens if the value of K is too small in the KNN…

Added 1 May 2024

What happens if the value of K is too small in the KNN algorithm?

  1. The model becomes more prone to underfitting
  2. The model becomes more prone to overfitting Correct answer
  3. The decision boundary becomes smoother
  4. The decision boundary becomes more complex

Correct answer

B. The model becomes more prone to overfitting

17 views

MCQSEXAM

Explanation

A small value of K in KNN can lead to overfitting, where the model learns to memorize the training data rather than generalize well to unseen data.

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More K-Nearest Neighbors (KNN) MCQs

Practise all K-Nearest Neighbors (KNN) MCQs

Similar MCQs