id in the kmeans function
Mostrar comentarios más antiguos
[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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre k-Means and k-Medoids Clustering en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!