Build kNN from scratch in Python
With k-Fold Cross Validation (from scratch)
Published in
6 min readSep 13, 2020
In this article, we shall understand how k-Nearest Neighbors (kNN) algorithm works and build kNN algorithm from ground up. We also shall evaluate our algorithm using the k-Fold cross-validation which is also developed from scratch.
After completing this tutorial you will know: