It earns a place when
- Use it when hierarchy matters, the dataset is modest and you want to inspect several possible group counts.
- You can evaluate it against a credible baseline.
- Its output fits the decision and data constraints.
Machine learning models · Phase 3 · Lesson 21
Read a dendrogram and choose a hierarchy of clusters rather than one fixed partition.
Read a dendrogram and choose a hierarchy of clusters rather than one fixed partition.
Start with each item alone, or one group, and repeatedly merge or split according to a linkage rule. The history is the useful output.
Agglomerative clustering uses a distance matrix and a linkage criterion such as single, complete, average or Ward linkage. Cutting the dendrogram gives a chosen number of groups.
Cluster related products by their feature profiles. A dendrogram shows which products join early and which remain distinct until a high distance.
When a result looks surprisingly good, inspect the split, target timing, error slices and data-generating process before celebrating.
Use this as a small experiment rather than a recipe to copy blindly. Change one thing, record the result and explain the change.
Answer from memory first. The buttons reveal feedback, but the durable step is explaining why.
1. What does a dendrogram show?
2. What is linkage?
3. Why can early agglomerative merges be risky?
scikit-learn User Guide. Use the source for the deeper treatment after you can explain the lesson's core idea without looking.