K_Nearest_Neighbor
A simple ( scrappy ) implementation of K nearest Neighbor classifier, (currently k = 1)
Learnt from the YouTube series: Machine Learning Recipes with Josh Gordon, Video number 5.
Here is the link to the playlist: https://www.youtube.com/playlist?list=PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal .
It tries to predict the type of flower using the iris dataset.
File 1 : NKC.py : This is the file where the classifier is written.
File 2 : nkc_run.py : In this file, the iris dataset is loaded, arranged and given to the classifier to train and predict.
by Harishankar S Kumar @HariSK20