JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
k-Nearest Neighbours
What is it?
Why/Why not use it?
How to do it?
Work log
More
Share
Explore
Why/Why not use it?
kNN model should be used as a baseline method for comparison with more advanced techniques.
Strengths
Model is very easy to understand
Gives reasonable performance without a lot of tuning
Fast training time
Weaknesses
Prediction time will be very slow for data sets with large number of samples or features
Performs poorly with
high-dimensional
o
r sparse
data sets
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.