in Machine Learning by (31.6k points)

Explain the difference between KNN and K-means Clustering.

1 Answer

0 votes
by (20.8k points)

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 (31.6k points)
0 votes
asked Mar 20 in Clustering - The Data Ensemble by john ganales (14.1k points)
+1 vote
asked Feb 3, 2020 in Clustering - The Data Ensemble by MBarbieri (1.0k points)
...