Professional Documents
Culture Documents
Course Instructor:Dr.V.Kalaichelvi.,
BITS Pilani
Associate Professor/EEE
Dubai Campus
BITS Pilani
Dubai Campus
KNN CLASSIFIER
Check Points
https://www.youtube.com/watch?v=Jwo5Ae7tH_I
https://www.youtube.com/watch?v=Jwo5Ae7tH _I
https://www.youtube.com/watch?v=reuU2zUsEPM
Step 1
K nearest neighbor is
equal to 1.
Use the category
which is nearest to
the neighbor
In this case its equal
to GREEN
Step 2
Add a new cell with
unknown category
Step 3
Classify the new cell
by looking at the
new cell with
unknown category
Step 4
K=11, the new cell
will be closer
between two or more
categories
Step 5
7 Nearest neighbors
are Red
3 Nearest neighbors
are Orange
1 nearest neighbor is
Green
=RANK(O2,$O$2:$O
2.3 6.3Versicolor
2.5 5.1Versicolor
2.5 6.3Versicolor
2.4 5.5Versicolor
$16,1)
=VLOOKUP(Q2,$N$
2:$P$16,3,FALSE)
3.1 5.2