varmichelle / KNN

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)


Languages

Language:Python 100.0%