The K-nearest-neighbors is a simple but powerful approach for making predictions. KNN use data and classify new data points based on similarity measures (distance function). In this model we used the Euclidean Distance Equation.
Find here the Medium post for a better understanding.
