Fast and exact fixed-radius neighbor search based on sorting.

PeerJ Comput Sci

University of Manchester, Manchester, United Kingdom.

Published: March 2024

Fixed-radius near neighbor search is a fundamental data operation that retrieves all data points within a user-specified distance to a query point. There are efficient algorithms that can provide fast approximate query responses, but they often have a very compute-intensive indexing phase and require careful parameter tuning. Therefore, exact brute force and tree-based search methods are still widely used. Here we propose a new fixed-radius near neighbor search method, called SNN, that significantly improves over brute force and tree-based methods in terms of index and query time, provably returns exact results, and requires no parameter tuning. SNN exploits a sorting of the data points by their first principal component to prune the query search space. Further speedup is gained from an efficient implementation using high-level basic linear algebra subprograms (BLAS). We provide theoretical analysis of our method and demonstrate its practical performance when used stand-alone and when applied within the DBSCAN clustering algorithm.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11042012PMC
http://dx.doi.org/10.7717/peerj-cs.1929DOI Listing

Publication Analysis

Top Keywords

fixed-radius neighbor
12
neighbor search
12
data points
8
parameter tuning
8
brute force
8
force tree-based
8
search
5
fast exact
4
exact fixed-radius
4
search based
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!