Hierarchical Clustering

Last updated

What is Hierarchical Clustering?

Hierarchical clustering is a method of grouping data points into clusters based on their similarity, building a hierarchy of clusters. It starts by treating each data point as its own cluster and then iteratively merges the closest clusters until only one cluster remains, or a stopping criterion is met. This process creates a tree-like structure called a dendrogram, which visually represents the hierarchy of clusters. Scikit-learn provides an implementation of agglomerative hierarchical clustering through its AgglomerativeClustering class, which allows you to specify the linkage criterion (e.g., ward, complete, average) to determine how the distance between clusters is calculated.

Free resources to learn Hierarchical Clustering

More in stage 23: What is Reinforcement Learning?

Hierarchical Clustering: common questions

Can I learn Hierarchical Clustering in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Hierarchical Clustering in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Hierarchical Clustering tutorial for beginners?

It is lesson 93 of 150 in the free Machine Learning roadmap, in stage 23, What is Reinforcement Learning?. If you are new to Machine Learning, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me