id in the kmeans function
Show older comments
[id,C,SUMD]= kmeans(Dataset,3);
[3:43 PM]
I understand the C refers to the centroid, SumD which is set to the squared euclidean distance by default, but I am unsure as to what id does? I tried finding the documentation where it says idx (which I assume is the same as id) gives the cluster indices, so does that mean that it numerates the clusters somehow?
Accepted Answer
More Answers (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!