How to Reassign Wrong cluster Values.
古いコメントを表示
Hello, I hope you are doing well. I have the dataset,Which is wrongly clusters into 4 cluster, but there should be 3 Clusters.
The cluster 2 (cell 2) and cluster 3 (cell 3) have almost similar values. I want to rearrange the clusters to make 3 clusters
How can i do that in Matlab. Can anybody help me with that?
採用された回答
その他の回答 (1 件)
Jiri Hajek
2022 年 12 月 14 日
Hi, your clusters contain just matrices organized in four columns, so you can easily e.g. put two of them together (concatenate versitcally) like this:
clusters{3} = [clusters{3};clusters{4}];
And to remove the fourth cluster, you can use:
clusters = clusters(1:3);
3 件のコメント
Med Future
2022 年 12 月 14 日
Jiri Hajek
2022 年 12 月 14 日
編集済み: Jiri Hajek
2022 年 12 月 14 日
Since you did not mention any specific algorithm, this was actually a valid response.:-) But jokes aside, try to explain what you need. You want to rearrange but not to merge - so perhaps you should try to explain wat you want to achieve with the data, exactly.
Med Future
2022 年 12 月 15 日
カテゴリ
ヘルプ センター および 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!

