k-nearest-neighbors icon indicating copy to clipboard operation
k-nearest-neighbors copied to clipboard

Very weak KNN

Open ReaperZ0v opened this issue 6 years ago • 2 comments

Hi, nice project on the KNN algorithm but could you make the algorithm a bit more obscure and expandable? why not use library like sklearn ? feel free to check out my kNN repository! also give the user options for input...

cheers!

ReaperZ0v avatar Jan 10 '19 18:01 ReaperZ0v

I did not use sklearn on purpose. I implemented this as I was trying to understand how KNN actually works under the hood of abstractions such as fit() and predict() methods provided by sklearn. Still, the code could use some refactoring, I'll work on it.

div3125 avatar Jan 11 '19 13:01 div3125

oh I get it meaning actually to use loops and functions to make the functions of KNN work without libraries ? that's cool then.

ReaperZ0v avatar Jan 25 '19 07:01 ReaperZ0v