KNN algorithm at the training phase just stores the dataset and when it gets new data, then it classifies that data into a category that is much similar to the new data.
Example: Suppose, we have an image of a creature that looks similar to cat and dog, but we want to know either it is a cat or dog. So for this identification, we can use the KNN algorithm, as it works on a similarity measure. Our KNN model will find the similar features of the new data set to the cats and dogs images and based on the most similar features it will put it in either cat or dog category.
Nesta página do site você pode assistir ao vídeo on-line K nearest neighbor(knn algorithm classification problem solution) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Basic CS Tutorials 15 Maio 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 662 vezes e gostou 11 espectadores. Boa visualização!