K Nearest Neighbor Classifier — from scratch
K-nearest algorithm is a common tool used in machine learning in both Classification and Regression problems. In a nutshell, this algorithm takes a data point in which we are interested and tries to find the k-number of closest points in the feature…