KNN Algorithm is much similar to office environment
KNN algorithm which simplifies a friendship model and is very much related to a new office joiner. When this new candidate is asking for help and struggling with its identity crisis in new office environment.
KNN algorithm also works in the similar fashion where the new sample space, is finding the distance between him and all the points. The one which is most closest to the manager wins the argument and always been promoted as the best employer , likewise the same as in this algorithm we have selected model space in data segment and find the closest distance from other dataset.
This model can be great but if the distance with a narcist personality or an outlier is found then this model can also give wrong model prediction.
There are four steps involved in this model prediction, its easy and very matured method to predict relationship and get accurate prediction on data but can also destroy the resultant vector if the distance with wrong dataset is very nearer.