Binary Classification and k-Nearest Neighbours

Binary classification predicts a label in {−1, +1} and is judged by the 0-1 loss. Minimising it directly over linear classifiers is NP-hard, and regression on ±1 labels is a poor substitute. k-nearest neighbours avoids training altogether: it labels a point by majority vote among its k closest training points, with k trading noise sensitivity against smoothness.

Machine Learning Techniques

Sign up free to read the rest of this lesson