English

Faster DB-scan and HDB-scan in Low-Dimensional Euclidean Spaces

Computational Geometry 2017-03-01 v1

Abstract

We present a new algorithm for the widely used density-based clustering method DBscan. Our algorithm computes the DBscan-clustering in O(nlogn)O(n\log n) time in R2\mathbb{R}^2, irrespective of the scale parameter ε\varepsilon (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 ε\varepsilon than the original DBscan algorithm. We also present an O(nlogn)O(n\log 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.

Keywords

Cite

@article{arxiv.1702.08607,
  title  = {Faster DB-scan and HDB-scan in Low-Dimensional Euclidean Spaces},
  author = {Mark de Berg and Ade Gunawan and Marcel Roeloffzen},
  journal= {arXiv preprint arXiv:1702.08607},
  year   = {2017}
}
R2 v1 2026-06-22T18:30:19.194Z