1
$\begingroup$

In 2-Nearest-Neighbourhood classifier, given a input x, and 2 neighbours of x have different labels, what can I assign as label for x? (Assuming I am not weighting neighbours based on distance)?

$\endgroup$
1
  • $\begingroup$ You can always just label this with more common classs... That's the problem that basically explains why kNN with even number of neighbors isn't used without weighing. $\endgroup$ Nov 25, 2021 at 10:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.