KNN Flashcards
(3 cards)
1
Q
What is KNN
A
KNN is a supervised machine learning algorithm for classification and regression
2
Q
How does KNN work?
A
Choose a number (K)
Measure distance between the data and the K will pick the nearest point and predict based on vote
3
Q
Pro and Cons of KNN
A
Simple and easy, slow with large, work well with small data base