listing clusters in hierarchical clustering

1 回表示 (過去 30 日間)
Ercan Atam
Ercan Atam 2020 年 4 月 29 日
編集済み: Ercan Atam 2020 年 4 月 29 日
How can I list the set of partitions (clusters) in hierarchical clustering at each level?
For example, consider
D_tr=rand(10,1);
D=0.5*(D_tr+D_tr');
tree = linkage(D,'average');
dendrogram(tree)
  2 件のコメント
Massimo Zanetti
Massimo Zanetti 2020 年 4 月 29 日
編集済み: Massimo Zanetti 2020 年 4 月 29 日
All the instructions to find out how the hierarchical structure is built is described in the help page Linkage, Output Arguments Z. Did you figure it out?
Ercan Atam
Ercan Atam 2020 年 4 月 29 日
編集済み: Ercan Atam 2020 年 4 月 29 日
Unfortunately No. It is not clear because Z includes new indices etc (and you have to figure out these new indices to get the original data flow during clustering process) . I was expecting that there should be some direct way to obtain the resulting clusters and their data content. The developers of the code should update the commands to include the features I mentioned and otherwise it is a pain.

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by