id in the kmeans function
이전 댓글 표시
[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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 k-Means and k-Medoids Clustering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!