3
$\begingroup$

When it's better to use K-Medoids rather than K-Means? Can anybody give some examples of dataset for the same?

$\endgroup$
3
  • $\begingroup$ From Wikipedia: It is more robust to noise and outliers as compared to k-means because it minimizes a sum of pairwise dissimilarities instead of a sum of squared Euclidean distances. $\endgroup$ Commented Jul 9, 2020 at 7:40
  • 2
    $\begingroup$ You may also want to use K-medoid when you want the representers of the classes to be one of the points in your dataset. Ex : representer of a class of pictures of faces is a blurry picture for K-means and it is a real picture of someone's face in K-medoid, one of the exemples of the dataset. $\endgroup$ Commented Jul 9, 2020 at 8:00
  • 1
    $\begingroup$ The question is similar to when to use median instead of mean. Check the answers here stats.stackexchange.com/questions/6913/… Mean is trying to minimize L2 loss and Median is trying to minimize L1 loss. stats.stackexchange.com/questions/34613/… $\endgroup$ Commented Jul 9, 2020 at 8:04

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.