AIExplainer
Machine Learning Intermediate 2 min read

What is agglomerative clustering?

A type of hierarchical clustering that groups similar data points together

Agglomerative clustering is a method of grouping data points into clusters based on their similarities. It starts with each data point as its own cluster and then merges the most similar clusters together, forming a hierarchy of clusters.

Imagine you have a bunch of different colored balls, and you want to group them by color. Agglomerative clustering is like starting with each ball in its own box, and then gradually combining the boxes that have the most similar colored balls, until you have a few big boxes with all the balls of similar colors.

A company might use agglomerative clustering to group customers based on their buying behavior and demographics, in order to tailor marketing campaigns to specific segments.

Agglomerative clustering is used in data analysis and machine learning to identify patterns and relationships in data, such as customer segmentation, image recognition, and gene expression analysis.

One common misconception is that agglomerative clustering is only used for hierarchical clustering, when in fact it can also be used for flat clustering by cutting the hierarchy at a certain level.

Agglomerative clustering has its roots in the 1960s, when it was first used in numerical taxonomy and data analysis. Since then, it has been widely used in many fields, including computer science, biology, and social sciences.

hierarchical clustering bottom-up clustering

Three products for different needs — explore what’s relevant to you.