Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Hierarchical Clustering
Machine learning

Hierarchical Clustering

Hierarchical Agglomerative Clustering · Also known as: Hiyerarşik Kümeleme, hiyerarşik kümeleme, agglomerative clustering, hierarchical agglomerative clustering, HAC

Hierarchical clustering is an unsupervised method that groups observations into nested clusters and draws the result as a dendrogram, so the number of clusters need not be fixed in advance. Its agglomerative form rests on the objective-function grouping criterion introduced by Joe Ward in 1963.

ScholarGate
  1. Machine learning
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Hierarchical Clustering
DBSCANFactor AnalysisGaussian Mixture ModelPrincipal Component Anal…Affinity PropagationBayesian Cluster AnalysisBayesian Hierarchical Cl…Community DetectionDTW Barycenter AveragingExplainable K-Means

+10 more

When to use it

Use it for exploratory grouping when you want to discover structure without pre-specifying the number of clusters, on continuous, ordinal, or categorical features with at least about 10 observations. It is assumption-light but hinges on two choices: a suitable distance metric and a suitable linkage method. Below about 10 observations the distance matrix is unreliable and the dendrogram cannot show meaningful structure, so K-means is a safer alternative; on very small samples results become overly sensitive to the linkage method and cluster memberships are unstable.

Strengths & limitations

Strengths
  • Does not require the number of clusters to be fixed in advance — you read it off the dendrogram.
  • The dendrogram gives an interpretable visual map of how clusters nest at different similarity levels.
  • Assumption-light: no normality requirement, and it accommodates continuous, ordinal, and categorical features through the distance choice.
  • Works as an exploratory tool to reveal structure before committing to a partition.
Limitations
  • Results depend heavily on the chosen distance metric and linkage method, which are user decisions.
  • On small samples cluster memberships are unstable and overly sensitive to the linkage method.
  • With fewer than about 10 observations the distance matrix is unreliable and the dendrogram shows no meaningful structure.

Frequently asked

Do I need to choose the number of clusters first?

No. Hierarchical clustering builds the full merge tree regardless, and you decide the number of clusters afterward by cutting the dendrogram at a chosen height — that is one of its main advantages over methods like K-means.

Which distance metric and linkage should I use?

Both are deliberate choices that strongly shape the result. The distance metric should match your feature types, and Ward's linkage is a common default because it keeps clusters compact by minimising the increase in within-cluster variance at each merge.

How many observations do I need?

At least about 10. Below that the distance matrix is unreliable and the dendrogram cannot reveal meaningful structure, so K-means is the safer alternative.

Why are my clusters unstable?

On small samples the result is overly sensitive to the linkage method, so cluster memberships shift with small changes. In that situation consider K-means or a Gaussian mixture model instead.

Sources

  1. Ward, J. H. (1963). Hierarchical Grouping to Optimize an Objective Function. Journal of the American Statistical Association, 58(301), 236–244. DOI: 10.1080/01621459.1963.10500845 ↗

How to cite this page

ScholarGate. (2026, June 1). Hierarchical Agglomerative Clustering. ScholarGate. https://scholargate.app/en/machine-learning/hierarchical-clustering

Related methods

DBSCANFactor AnalysisGaussian Mixture ModelPrincipal Component Analysis

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • DBSCANMachine learning↔ compare
  • Factor AnalysisResearch Statistics↔ compare
  • Gaussian Mixture ModelMachine learning↔ compare
  • Principal Component AnalysisMachine learning↔ compare
Compare side by side →

Referenced by

Affinity PropagationBayesian Cluster AnalysisBayesian Hierarchical ClusteringCommunity DetectionDBSCANDTW Barycenter AveragingExplainable K-MeansFormal Concept AnalysisGaussian Mixture ModelK-meansK-Means ClusteringMean ShiftOnline K-meansOPTICSPrincipal Component AnalysisRobust Hierarchical ClusteringRobust k-meansSpectral ClusteringStochastic Block Model

Similar methods

Robust Hierarchical ClusteringCluster AnalysisBayesian Hierarchical ClusteringK-Means ClusteringDocument ClusteringBayesian Cluster AnalysisDecision TreeRobust Cluster Analysis

Related reference concepts

Hierarchical Cluster AnalysisCluster AnalysisClustering AlgorithmsK-Means ClusteringText ClusteringUnsupervised Learning

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Hierarchical Clustering (Hierarchical Agglomerative Clustering). Retrieved 2026-07-20 from https://scholargate.app/en/machine-learning/hierarchical-clustering · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Ward, J. H.
Year
1963
Type
Unsupervised clustering (agglomerative)
Task
Exploratory grouping
MinSample
10
Related methods
DBSCANFactor AnalysisGaussian Mixture ModelPrincipal Component Analysis
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account