Can I use kmeans matlab function to perform k-medoids algorithm ?

8 vues (au cours des 30 derniers jours)
Cassie
Cassie le 2 Sep 2011
Commenté : Farrukh Hassan le 5 Déc 2020
Hi I am kind of new to the clustering algorithm so apologize for the bad questions first. I notice that matlab has kmeans built-in function and it can be specified to find component-wise centroid instead of mean by using kmeasn(X,clusterNum,"distance" "city"). I am wondering how this differs from k-medoids algorithm. Does this mean it performs a k-medoids algorithm ? Or it is still a kmeans algorithm ? Is there some way to configure the kmeans function into k-medoids or there is another function for k-medioids ?
Thank you very much,

Réponse acceptée

the cyclist
the cyclist le 3 Sep 2011
No, but there is a k-medoids function in the File Exchange:
  4 commentaires
Cassie
Cassie le 6 Sep 2011
Thank you very much,
Farrukh Hassan
Farrukh Hassan le 5 Déc 2020
I am trying to calculate different clustering validation indices such as daviesbouldin, gap, silhouette and CalinskiHarabasz for K-means, K-medoids, and heirarichal clustering.i am trying to calculate daviesbouldin and gap index value for k-mediods but i didnt find any solution. if anyone can help.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by