- Year not given
Hierarchical clustering: AGNES and DIANA
Short answer
Hierarchical clustering creates nested clusters in a dendrogram without a pre-specified number. AGNES (bottom-up) repeatedly merges the closest pair of clusters; DIANA (top-down) splits the cluster with the largest diameter until each object is a singleton.
What is hierarchical clustering? Describe AGNES and DIANA methods of hierarchical clustering approach.
Hierarchical clustering groups data into a tree of nested clusters (a dendrogram), either by merging smaller clusters into larger ones or by splitting a large cluster. The user does not give k in advance; a clustering is obtained by cutting the dendrogram at a chosen level. Merges and splits are final and cannot be undone.
AGNES (Agglomerative Nesting), bottom-up
- Treat each object as its own cluster; compute the distance matrix.
- Merge the two closest clusters into one.
- Update the distances between the new cluster and the others.
- Repeat steps 2-3 until all objects are in a single cluster (or the desired k is reached).
The distance between clusters is defined by the linkage:
- Single link: minimum distance between two objects of different clusters.
- Complete link: maximum distance.
- Average link: average of all pairwise distances.
- Centroid distance.
DIANA (Divisive Analysis), top-down
- Start with all objects in one cluster.
- Choose the cluster with the largest diameter and split it: the object with the highest average dissimilarity to the others forms a "splinter group"; objects that are closer to the splinter group than to the rest move to it.
- Repeat the splitting until each cluster has one object (or until there are k clusters).
a b c d e
AGNES (merge) -> {a,b} {d,e} -> {a,b,c} {d,e} -> {a..e}
DIANA (split) <- inverse order
| Basis | AGNES | DIANA |
|---|---|---|
| Direction | Bottom-up | Top-down |
| Start | n clusters | 1 cluster |
| Step | Merge closest pair | Split the largest-diameter cluster |
| Cost | O(n²) or more | Higher, as the number of possible splits is exponential |
Both cost at least O(n²), so they are not suitable for huge data sets; BIRCH, CURE and Chameleon improve on this.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Need of clustering; hierarchical vs partitioning; K-means · Data Mining, chapter 5
- Short note: Partitioning and hierarchical clustering · Data Mining, chapter 5
- Short note: Hierarchical clustering · Data Mining, chapter 5
- Major clustering approaches · Data Mining, chapter 5