How do you interpret a dendrogram to choose where to cut the tree?

Quick Overview

Asks how to read a dendrogram from hierarchical clustering and decide where to cut it to get a flat set of clusters. It tests whether you understand merge heights, cut-selection heuristics, validation of the cluster count, and how the linkage method affects the tree.

How do you interpret a dendrogram to choose where to cut the tree?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

How do you interpret a dendrogram to choose where to cut the tree? The dendrogram comes from agglomerative hierarchical clustering, and you need to turn it into a flat set of clusters. ```hint Read the vertical axis Work out what the height of each merge means, then ask what a long stretch of the tree with no merges says about the clusters below it. ``` ### What a Strong Answer Covers - What the vertical axis and the horizontal bars represent, and what the left-to-right order of the leaves does not mean - How a horizontal cut turns into a number of clusters - At least one way to pick the cut height, and how to check the result - How the linkage method and differences in cluster density change the reading ### Follow-up Questions - Why does the largest-gap rule often return two clusters with Ward linkage, and what would you do about it? - What is the cophenetic correlation, and what does a low value tell you? - When would you prefer a dynamic, non-uniform cut over a single horizontal line? - How would you choose between single, complete, average and Ward linkage for a given dataset?

Overview: Asks how to read a dendrogram from hierarchical clustering and decide where to cut it to get a flat set of clusters. It tests whether you understand merge heights, cut-selection heuristics, validation of the cluster count, and how the linkage method affects the tree.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

How do you interpret a dendrogram to choose where to cut the tree?

The dendrogram comes from agglomerative hierarchical clustering, and you need to turn it into a flat set of clusters.

What a Strong Answer Covers Guidance

  • What the vertical axis and the horizontal bars represent, and what the left-to-right order of the leaves does not mean
  • How a horizontal cut turns into a number of clusters
  • At least one way to pick the cut height, and how to check the result
  • How the linkage method and differences in cluster density change the reading

Follow-up Questions Guidance

  • Why does the largest-gap rule often return two clusters with Ward linkage, and what would you do about it?
  • What is the cophenetic correlation, and what does a low value tell you?
  • When would you prefer a dynamic, non-uniform cut over a single horizontal line?
  • How would you choose between single, complete, average and Ward linkage for a given dataset?