cluster plotting in matlab
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
the cyclist
2016 年 12 月 19 日
The documentation for kmeans gives several examples of plotting the output (including the code to do so).
2 件のコメント
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
参考
カテゴリ
Help Center および File Exchange で Cluster Analysis and Anomaly Detection についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!