find_knn_parallel: Parallel KNN

View source: R/Utilities.R

find_knn_parallelR Documentation

Parallel KNN

Description

Computes nearest-neighbor indices and distances in parallel. Query is over all points and results do not include the self-distance.

Usage

find_knn_parallel(data, K)

Arguments

data

a Samples x Dimensions numeric matrix

K

number of neighbors to query

Value

list with two items: index: Samples x K matrix of neighbor indices dist: Samples x K matrix of neighbor distances


YosefLab/VISION documentation built on June 14, 2024, 5:27 p.m.