| print.knn | R Documentation |
Prints the size of the training set the model memorised, and the number of neighbours used.
## S3 method for class 'knn'
print(x, ...)
x |
The model (object of class |
... |
Other parameters. |
knn-class, KNN
require (datasets)
data (iris)
KNN (iris [, -5], iris [, 5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.