umap (version 0.2.2.0)

knn.from.data.reps: Repeat knn.from.data multiple times, pick the best neighbors

Description

Repeat knn.from.data multiple times, pick the best neighbors

Usage

knn.from.data.reps(d, k, metric.function, subsample.k = 0.5, reps = 2)

Arguments

d

matrix with data

k

integer, number of neighbors

metric.function

function that returns a metric distance

subsample.k

numeric, used for internal tuning of implementation

reps

integer, number of repeats to carry out

Value

list of same format as knn.from.data