knn-class {fdm2id} | R Documentation |
K Nearest Neighbours model
Description
This class contains the classification model obtained by the k-NN method.
Slots
train
The training set (description). A
data.frame
.labels
Class labels of the training set. Either a
factor
or an integervector
.k
The
k
parameter.
See Also
[Package fdm2id version 0.9.9 Index]