Skip to content

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

grvnair/knn-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

knn-from-scratch

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%.

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

No packages published