cluster plotting in matlab
이전 댓글 표시
I attached data file of n*4 size. I used
[idx,C] = kmeans(X,3)
for clustering and obtain idx as cluster index and C as centroid, but I want to plot which shows these three clusters. how to do it.
답변 (1개)
the cyclist
2016년 12월 19일
0 개 추천
The documentation for kmeans gives several examples of plotting the output (including the code to do so).
댓글 수: 2
Jay Hanuman
2016년 12월 19일
the cyclist
2016년 12월 19일
It is of course not possible to plot four spatial dimensions. The main alternatives would all involve plotting some projection of your data onto a smaller number of dimensions. Possibilities are
카테고리
도움말 센터 및 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!