KNN Flashcards

(3 cards)

1
Q

What is KNN

A

KNN is a supervised machine learning algorithm for classification and regression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Pro and Cons of KNN

A

Simple and easy, slow with large, work well with small data base

How well did you know this?
1
Not at all
2
3
4
5
Perfectly