question about the resulting dendrograms in hierarchical clustering

조회 수: 5 (최근 30일)
cgo
cgo 2018년 8월 20일
편집: OCDER 2018년 8월 20일
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.

채택된 답변

OCDER
OCDER 2018년 8월 20일
편집: OCDER 2018년 8월 20일
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)

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by