question about the resulting dendrograms in hierarchical clustering

3 views (last 30 days)
I have a question about the resulting dendrogram in hierarchical clustering.
I have 64 items that need to clustered by hierarchical clustering. Following the documentation in Matlab, I computed the pdist (because each item is a vector of size 6); then I computed for the linkage.
And the resulting dendrogram is shown here:
Question:
1. I am supposed to have 64 items, where are the rest? I am only seeing a few of them? I tried zooming out but I didn't see them.

Accepted Answer

OCDER
OCDER on 20 Aug 2018
Edited: OCDER on 20 Aug 2018
Dendrogram defaults to 30 leaf nodes to draw. To draw more, specify # of leaf nodes to draw.
Y = linkage(rand(64, 3));
dendrogram(Y, size(Y,1)+1)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!