Skip to content

Commit

Permalink
KNN Start
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnoitanuj committed Nov 6, 2018
1 parent 1e5abfe commit 907cd6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# K-Nearest Neighbour

Step 1: Choose the number of K neighbours (generally taken to be 5).
Step 2: Take the K nearest neighbours of the new data point, according to the Euclidean distance.
Step 3: Among these K neighbours, count the number of data points in each category.
Step 4: Assign the new data point to the category where you counted the most neighbours.

0 comments on commit 907cd6c

Please sign in to comment.