knn-class: K Nearest Neighbours model

knn-classR 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 integer vector.

k

The k parameter.

See Also

KNN, predict.knn


fdm2id documentation built on July 9, 2023, 6:05 p.m.

Related to knn-class in fdm2id...