Circled Dot
Circled Dot
Circled Dot

2

KMeans vs KNN

Difference between Kmeans and KNN?

How KNN works

How Kmeans works

K Means

K-Means is a clustering algorithm, which is a part of unsupervised machine learning. It is used to create clusters out of lots of unlabeled data points where data holding a similar property or pattern are stored in the same cluster.

1

KNN

KNN is a classification algorithm of supervised Learning. It is used to classify a data point to a certain class, based on its property and patterns, for example, if you have two classes, Dog, and Cat and you passed an image of a cat then it will be classified as a cat class.

2

Quick definition

Learn more