How does HDBSCAN overcome DBSCAN's sensitivity to varying densities?

Last updated 11 November 2026

  • DBSCAN uses one global eps, so it cannot capture dense and sparse clusters together. HDBSCAN effectively runs DBSCAN over all eps values and builds a cluster hierarchy (via an MST on mutual reachability distance, which pushes sparse points apart).

  • It condenses the tree with min_cluster_size and selects the non-overlapping clusters with maximal stability (persistence across density levels). Each cluster can therefore come from its own density level.

  • No eps to tune, and it gives soft membership and outlier scores. Results still depend on min_samples and min_cluster_size.

  • https://medium.com/datadriveninvestor/hdbscan-explained-a-beginners-guide-to-density-based-clustering-69395ca8cc91
  • https://behesht.medium.com/unsupervised-learning-density-based-clustering-dbscan-1b4d0128cbc1
  • https://medium.com/data-science/a-gentle-introduction-to-hdbscan-and-density-based-clustering-5fd79329c1e8
All Clustering interview questions