nn_experiment: Investigate how quickly a k-nearest-neighbor classifier...

Description Usage Arguments Value

View source: R/kNN.R

Description

Investigate how quickly a k-nearest-neighbor classifier reaches capacity

Usage

1
nn_experiment(dims, be, reps = 50, seed = 2021)

Arguments

dims

the number of dimensions used to determine the class

be

the Bayes optimal classifier error

reps

the number of times to repeat the experiment

seed

random seed

Value

a list where the nth item is a vector of accuracies of models given n * 500 training examples


tfglynn/sdsu-research-code documentation built on Jan. 31, 2022, 12:04 a.m.