0 votes
in Artificial Intelligence by
Compare K-means and KNN Algorithms.

1 Answer

0 votes
by

K-means KNN

K-Means is unsupervised

K-Means is a clustering algorithm

The points in each cluster are similar to each other, and each cluster is different from its neighboring clusters

KNN is supervised in nature

KNN is a classification algorithm

It classifies an unlabeled observation based on its K (can be any number) surrounding neighbors

Related questions

0 votes
asked Jun 28, 2023 in Statistics and Probability Basics by SakshiSharma
0 votes
asked Mar 20, 2023 in Clustering - The Data Ensemble by john ganales
...