KNN and nearest centroid
1
0
Entering edit mode
4.3 years ago
snoopy84 • 0

Hey,

Is K-nearest neigbour the same thing as nearest centroid classification (e.g. in gene expression and subgroups)?

Thanks

knn centroid • 3.1k views
ADD COMMENT
1
Entering edit mode
4.3 years ago
Ahill ★ 1.9k

No. K-nearest neighbor is a supervised approach where each example to be classified is put into a class by looking at the classes of the K nearest training examples and assigning the example to the majority class. When you say nearest centroids I believe you are referring to methods like K-means or K-medioids? These are unsupervised clustering methods where K centroids are initialized into your space and the examples to be classified are put into the class with the nearest centroid, then the centroids are re-assigned, and the process is repeated iteratively until convergence.

ADD COMMENT

Login before adding your answer.

Traffic: 1984 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6