0 votes
in Machine Learning by

Explain the difference between KNN and K-means Clustering.

1 Answer

0 votes
by

K-nearest neighbors: It is a supervised Machine Learning algorithm. In KNN, we give the identified (labeled) data to the model. Then, the model matches the points based on the distance from the closest points.

K-nearest neighbors

K-means clustering: It is an unsupervised Machine Learning algorithm. In this, we give the unidentified (unlabeled) data to the model. Then, the algorithm creates batches of points based on the average of the distances between distinct points.

Related questions

0 votes
asked Jan 18, 2020 in Machine Learning by sharadyadav1986
0 votes
asked Mar 20, 2023 in Clustering - The Data Ensemble by john ganales
...