Faster DBScan and HDBScan in low-dimensional Euclidean spaces

Mark de Berg (Corresponding author), Ade Gunawan, Marcel Roeloffzen (Corresponding author)

Research output: Contribution to journalArticleAcademicpeer-review

6 Citations (Scopus)
205 Downloads (Pure)


We present a new algorithm for the widely used density-based clustering method dbscan. For a set of n points in 2 our algorithm computes the dbscan-clustering in O(nlog n) time, irrespective of the scale parameter (and assuming the second parameter MinPts is set to a fixed constant, as is the case in practice). Experiments show that the new algorithm is not only fast in theory, but that a slightly simplified version is competitive in practice and much less sensitive to the choice of than the original dbscan algorithm. We also present an O(nlog n) randomized algorithm for hdbscan in the plane-hdbscan is a hierarchical version of dbscan introduced recently-and we show how to compute an approximate version of hdbscan in near-linear time in any fixed dimension.

Original languageEnglish
Pages (from-to)21-47
Number of pages27
JournalInternational Journal of Computational Geometry and Applications
Issue number1
Publication statusPublished - 1 Mar 2019


  • algorithms
  • DBScan
  • density-based clustering


Dive into the research topics of 'Faster DBScan and HDBScan in low-dimensional Euclidean spaces'. Together they form a unique fingerprint.

Cite this