In the k-NN algorithm, when two classes have a similar number of instances close to a test data point, the choice of an odd 'k' can help to avoid ________

  • Ambiguity
  • Bias
  • Overfitting
  • Underfitting
When two classes have a similar number of instances nearby, using an odd 'k' value can help avoid ambiguity in classifying the test data point, as it prevents ties. An even 'k' can lead to ties, making classification less clear.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *