
Hierarchical Clustering and Dendrograms
Hierarchical clustering groups items by repeatedly merging the closest pair, and a dendrogram shows each merge as a branch with a height. Linkage choice and cut height decide the clusters you read.
स्रोत
पूरा पाठ सारांश
Hierarchical clustering builds a family tree of groups. In the common bottom-up version, every item starts alone. The method repeatedly merges the two closest clusters until one cluster holds everything. A dendrogram draws this history as a branching diagram. Each leaf is one item. Each join, called a merge, sits at a height equal to the distance between the clusters that were combined. Low joins mean similar items. High joins mean the groups being fused are quite different. The tree records order of merging, not ancestry.
Place four leaf samples on a line according to one chosen measurement, using arbitrary scaled units. Their positions are 0.0 for A, 0.2 for B, 1.1 for C and 1.4 for D. Use single linkage, which measures the distance between two clusters by the closest pair across them. A joins B at 0.2. C joins D at 0.3. The nearest members across the remaining two clusters are B and C, 0.9 units apart, so the final join is at height 0.9. The numbers explain the drawing without suggesting that the four leaves are related by descent.
Linkage choice changes the heights and sometimes the shape. Single linkage merges based on the closest pair of points across two clusters. Complete linkage uses the farthest pair. Average linkage uses the mean distance. Ward's method merges the pair that increases within-cluster variance least. Each rule answers a slightly different question about closeness, so the same data can yield different trees. None of these rules is universally correct.
The left-to-right order of leaves can flip at any branch without changing the tree, much like rotating a mobile. The grouping stays the same. Cutting the tree at a chosen height yields a set of clusters. Cut at 0.5 in the example and you get AB and CD separately. Cut at 1.0 and all four form one cluster. The cut is a decision about useful resolution, not a fact hidden in the data. The hierarchy reflects the distance measure and linkage you chose. It does not show shared ancestry, descent or cause.
Hand another group the distance table without the tree diagram. Give pairs of students six picture cards and a ruler-based distance rule, such as counting differing features. Ask them to merge step by step and sketch the tree with heights on a shared sheet. Then ask each pair to cut their tree at a height of their choosing and name the groups. Display several trees side by side. Ask the class to compare where leaves sit and why orders differ. Record each pair's cut height and justification on a sticky note. The notes reveal whether students understand that the tree is a tool shaped by choices, not a verdict.


