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

Description Usage Arguments Value

View source: R/knn.R

Description

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

Usage

1
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


donelsonsmith/umap_R documentation built on Nov. 4, 2019, 10:58 a.m.