Follow the transformation
Choose features and scaling that define meaningful similarity.
Fit the clustering algorithm without target labels.
Inspect cluster size, separation/stability and representative observations.
Hierarchical Clustering is an unsupervised clustering technique that groups observations using a specific notion of similarity or density.
Hierarchical Clustering is an unsupervised clustering technique that groups observations using a specific notion of similarity or density. Clusters are model-dependent structures, not automatically “true” categories in the world.
Hierarchical Clustering matters because unsupervised methods impose a particular notion of structure—variance, distance, density or probability—without target labels. The discovered representation or clusters must therefore be interpreted relative to that chosen notion.
Treat this as a sequence of observable decisions rather than one opaque command. Stage 1: Choose features and scaling that define meaningful similarity. Stage 2: Fit the clustering algorithm without target labels. Stage 3: Inspect cluster size, separation/stability and representative observations. Final checkpoint: Evaluate usefulness against the downstream analytical purpose.
Choose features and scaling that define meaningful similarity.
Fit the clustering algorithm without target labels.
Inspect cluster size, separation/stability and representative observations.
Choose features and scaling that define meaningful similarity. This is an input-preparation stage for Hierarchical Clustering. Verify the relevant type, shape, units, keys, missingness or assumptions before later steps depend on them.
Start with each point as its own cluster.
Repeatedly merge the pair of clusters chosen by the linkage rule.
The dendrogram records merge order and height; cutting it at a chosen height yields a flat clustering.Different linkage rules can produce different hierarchies because “distance between clusters” is defined differently.
For Hierarchical Clustering, connect the displayed result to the specific input and mechanism above; independently verify one value/state change rather than treating successful execution as proof.
K-meansPartitions into k clusters by minimising within-cluster squared distance to centroids; favours roughly spherical equal-scale clusters.DBSCANDensity-based; finds arbitrary shapes and labels low-density points as noise; requires eps/min_samples.HierarchicalBuilds a nested dendrogram of merges/splits using a distance/linkage rule.Gaussian mixtureProbabilistic soft clustering with Gaussian component distributions.Use Hierarchical Clustering when the goal is to discover or represent structure without a supervised target and the chosen similarity/density/latent assumptions match the data.
Reconsider the method when feature scaling, distance choice, cluster shape, density variation or embedding purpose makes the discovered structure unstable or uninterpretable.
Build a tiny, inspectable example of Hierarchical Clustering. First choose features and scaling that define meaningful similarity. Then fit the clustering algorithm without target labels. Write the expected result before running it, and explain one condition that would make the result misleading or invalid.
Before trusting a result from Hierarchical Clustering, which check provides the strongest evidence that you understand and applied it correctly?
Step 1Choose features and scaling that define meaningful similarity.Step 2Fit the clustering algorithm without target labels.Step 3Inspect cluster size, separation/stability and representative observations.Step 4Visualise in original or reduced feature space without overclaiming separation.