What is k-nearest neighbors algorithm

In k-NNĀ  we have a labeled dataset and we want to use it to predict an unlabelled query point. Stay with me if you don’t get this. Query point is a similar object that has not yet been classified. To understand k-NN let us consider a simple dataset of Bollywood Movies. Name Lead Actor Genre … Continue reading What is k-nearest neighbors algorithm