Hierarchical Clustering

A collection can have small groups inside larger groups. Joining the closest groups one step at a time lets us inspect that hierarchy without choosing one group count at the outset.

13 sections · 4 questions · 2 coding challenges

1 / 13

Keeping the Smaller Groups Inside the Larger Ones

BOTIE

Grouping many observations poses a practical search problem: there are too many possible partitions to inspect exhaustively. Ward's 1963 procedure described forming a hierarchy through successive merges chosen by an objective. It made the sequence of grouping decisions part of the result.

Once groups contain several sensors, there is more than one way to decide which groups are closest. Ward's criterion chooses the merge with the smallest increase in within-group squared variation. We will begin with single linkage instead: find the nearest pair with one sensor in each group. That lets us point to the distance responsible for each merge. These criteria can produce different hierarchies.

Sources for this history