Created a Python program for K Nearest Neighbor Algorithm implementation from scratch. Determined the Euclidean distance between the data points to classify a new data point as per the maximum number of nearest neighbors. Implemented the algorithm on sklearn’s IRIS dataset which achieved an accuracy of 95.56%.
-
Notifications
You must be signed in to change notification settings - Fork 0
Created a Python program for K Nearest Neighbor Algorithm implementation from scratch. Determined the Euclidean distance between the data points to classify a new data point as per the maximum number of nearest neighbors. Implemented the algorithm on sklearn’s IRIS dataset which achieved an accuracy of 95.56%.
grvnair/knn-from-scratch
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Created a Python program for K Nearest Neighbor Algorithm implementation from scratch. Determined the Euclidean distance between the data points to classify a new data point as per the maximum number of nearest neighbors. Implemented the algorithm on sklearn’s IRIS dataset which achieved an accuracy of 95.56%.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published