listing clusters in hierarchical clustering
Show older comments
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 Comments
Massimo Zanetti
on 29 Apr 2020
Edited: Massimo Zanetti
on 29 Apr 2020
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
on 29 Apr 2020
Edited: Ercan Atam
on 29 Apr 2020
Answers (0)
Categories
Find more on Hierarchical Clustering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!