Back to the 2026 paper

Module 5: Clustering

20267m

Explain hierarchical clustering. Differentiate between agglomerative and divisive approaches and explain how a dendrogram is constructed.

Worked SolutionAI Assisted

Hierarchical clustering

Hierarchical clustering builds a nested sequence of clusters and represents it using a dendrogram.

  • Agglomerative (bottom-up): begin with each point as its own cluster; repeatedly merge the closest clusters using a linkage rule (single, complete, average or Ward).
  • Divisive (top-down): begin with all points in one cluster and recursively split them.

The dendrogram's leaves represent observations; branch heights represent merge/split dissimilarity. Cutting the dendrogram at a chosen height produces a flat clustering. Hierarchical clustering need not require K in advance, but naive implementations can be computationally expensive and early merges/splits are generally irreversible.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.