KNN.covariate.train(CLEg) | R Documentation |
This function computes the autocovariates in terms of nearest neighbor in test set defined by Holmes et al. (2002).
KNN.covariate.train(K, train, cl, ...)
K |
value of nearest neighbor defined by Holmes et al. (2002) |
train |
training data set |
cl |
class levels for the training set |
... |
optional arguments |
The fraction of mis-classifications.
Shahidul Islam
C. C. Holmes and N. M. Adams Likelihood inference in nearest-neighbour classification models Biometrika (2003), 90, 99–112.