How to prioritize the cluster on the basis of number of data points in each cluster?

2 ビュー (過去 30 日間)
I want to assign a number to each cluster on the basis of data points in that.
  2 件のコメント
Image Analyst
Image Analyst 2018 年 5 月 5 日
It would be easier to help you if you had attached some data. All I can say is to use histogram() and assignment to reassign each cluster number based on its count.
satendra kumar
satendra kumar 2018 年 5 月 6 日
please provide me code of this operation.

サインインしてコメントする。

採用された回答

Bernhard Suhm
Bernhard Suhm 2018 年 5 月 18 日
If X was your data, you could get the histogram with
h = histogram(X);
and then compare the centroids of your clusters to h.BinEdges, and the corresponding h.Values will provide you with the count of each cluster's bin.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCluster Analysis and Anomaly Detection についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by