01.09.2014 Views

The Nearest Neighbor Algorithm - Classes

The Nearest Neighbor Algorithm - Classes

The Nearest Neighbor Algorithm - Classes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Effect of K<br />

K=1 K=15<br />

Figures from Hastie, Tibshirani and Friedman (Elements of Statistical Learning)<br />

Larger k produces smoother boundary effect and can reduce the<br />

impact of class label noise.<br />

But when K = N, we always predict the majority class

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!