Skip to content

An implementation of the K Nearest Neighbors Algorithm from scratch in python (using the Iris dataset)

Notifications You must be signed in to change notification settings

varmichelle/KNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KNN

An implementation of the K Nearest Neighbors Algorithm from scratch in python (using the Iris dataset)

Simple KNN (k=1), KNN (for k=variable), and the SKLearn version all do about the same, consistently 90-99% accuracy depending on train-test split.

About

An implementation of the K Nearest Neighbors Algorithm from scratch in python (using the Iris dataset)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages