-2

Will any dataset clustered via each of the following methods:

  • Agglomerative Hierarchical Clustering using "complete linkage" method
  • Agglomerative Hierarchical Clustering using "single linkage" method

have the same dendrogram structure?

If yes, please help prove it or show a contradicting example (if not).

3 Answers3

3

Consider the data set

 0

run linkage clustering with any distance metric or linkage. The result will be the same dendrogram (which consists of a single node, at height infinity).

Alternatively, any data set with two instances will also work.

 0
 1

Will have a dendrogram merging the two nodes at height 1.

On these data sets, any linkage will yield the same results.

1

Dendrograms are used to visualize clustering results. Single-linkage and complete-linkage clustering may give different results. Hence, the dendrograms can be different too. However, it is quite likely that there are some special cases where the two methods give the same result. Then, also the dendrograms would be the same.

Guest
  • 11
  • Can you please help build an example that shows a simple dataset clustered using each of the these methods will give different dendogram? – YevgenyM Apr 20 '14 at 15:44
1

They will give different dendrograms in most cases. e.g.

hc1 <- hclust(dist(USArrests), "single")
plot(hc1)
plot(hc1, hang = -1)

hc2 <- hclust(dist(USArrests), "complete")
plot(hc2)
plot(hc2, hang = -1)
Nick Cox
  • 56,404
  • 8
  • 127
  • 185
Peter Flom
  • 119,535
  • 36
  • 175
  • 383