错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A fast DBSCAN algorithm using a bi-directional HNSW index structure for big data

  • Shaoyuan Weng,
  • Zongwen Fan,
  • Jin Gou

摘要

The Density Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm is one of the most popular and effective density-based clustering algorithms at present. Although it can effectively identify clusters and noise points of arbitrary shapes, it is very difficult to efficiently address the tasks with large scale data. The time complexity of the DBSCAN is \(O(n^2)\) O ( n 2 ) where its main computation time lies in \(\varepsilon\) ε -neighbor range query, which becomes the bottleneck of DBSCAN performance. To solve this problem, we propose a simple fast DBSCAN algorithm, called bh-DBSCAN, using a bi-directional HNSW index structure to improve the efficiency of DBSCAN by reducing redundant \(\varepsilon\) ε -neighbor range queries. Specifically, we first distinguish a point’s property (core point or border point). Next, we apply the filtNoise algorithm to filter the noise points that without core points in \(neighbor_x\) n e i g h b o r x . Finally, we utilized the MergeCore algorithm to merge the cluster of border points in it’s core neighbor points. The experimental results show that our proposed algorithm could greatly improve the clustering efficiency without losing much accuracy based on the datasets tested.