powered by
This class contains the classification model obtained by the k-NN method.
train
The training set (description). A data.frame.
data.frame
labels
Class labels of the training set. Either a factor or an integer vector.
factor
vector
k
The k parameter.
KNN, predict.knn
KNN
predict.knn