Can I use kmeans matlab function to perform k-medoids algorithm ?
Show older comments
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,
Accepted Answer
More Answers (0)
Categories
Find more on Cluster Analysis and Anomaly Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!