k-nearest-neighbors
k-nearest-neighbors copied to clipboard
Very weak KNN
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!
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.
oh I get it meaning actually to use loops and functions to make the functions of KNN work without libraries ? that's cool then.