How it works
No training. To predict a new point, find the K closest labeled neighbors and take a majority vote.
Small K = flexible but noisy. Large K = smooth but may miss detail. Try both.
add points, adjust k
No training. To predict a new point, find the K closest labeled neighbors and take a majority vote.
Small K = flexible but noisy. Large K = smooth but may miss detail. Try both.