Clustering Algorithms logopeterindia.net
Knowledge Hub

Clustering Algorithms

Twelve clustering algorithms worth understanding, grouped by how they define a cluster, with the official documentation for each and guidance on comparing and evaluating them.

22 sources•6 sections•Updated November 22, 2026

Clustering is unsupervised learning: it groups similar data points without labels. Methods differ in what they assume a cluster looks like. Centroid methods expect compact groups and a chosen cluster count; probabilistic and hierarchical methods give overlapping or nested groups; graph methods follow similarity structure; density methods find shapes of any form and flag noise. No single algorithm fits every dataset, so compare several on your data and measure the result. Each card below is the official documentation for one algorithm, with the one-line summary of what it is best at.

Centroid-Based: K-Means, Mini-Batch K-Means and K-Medoids

3 entries

Algorithms that represent each cluster by a centre and assign points to the nearest one. They are fast and simple, but need the number of clusters in advance and favour compact, round clusters.

Model-Based and Hierarchical: Gaussian Mixture, Agglomerative and BIRCH

3 entries

Algorithms that fit a probability model, build a tree of merges, or summarise the data first. They give soft assignments, a dendrogram or a way to handle very large datasets.

Graph and Exemplar-Based: Spectral and Affinity Propagation

2 entries

Algorithms that work from a similarity matrix or graph. They find clusters of complex shape or pick exemplar points, at a higher computational cost.

Density-Based: DBSCAN, HDBSCAN, OPTICS and Mean Shift

4 entries

Algorithms that look for dense regions separated by sparse ones. They find clusters of any shape and, except for Mean Shift, mark low-density points as noise.

Comparison, Evaluation and Original Sources

5 entries

Documentation for choosing between the algorithms, measuring the result, and reading the original DBSCAN paper.