| knn-class | R Documentation |
This class contains the classification model obtained by the k-NN method.
trainThe training set (description). A data.frame.
labelsClass labels of the training set. Either a factor or an integer vector.
kThe k parameter.
KNN, predict.knn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.