Refine
Source header: cuvs/neighbors/refine.h
Approximate Nearest Neighbors Refinement C-API
cuvsRefine
Refine nearest neighbor search.
Refinement is an operation that follows an approximate NN search. The approximate search has already selected n_candidates neighbor candidates for each query. We narrow it down to k neighbors. For each query, we calculate the exact distance between the query and its n_candidates neighbor candidate, and select the k nearest ones.
Parameters
Returns