In this post, I explain the intuition and logic behind KNN algorithm and show simple implementation written in pure pandas which yield 98% accuracy on the IRIS dataset.

» Volodymyr Lut | codementor.io