setKNN | R Documentation |
Create setting for knn model
setKNN(k = 1000, indexFolder = file.path(getwd(), "knn"), threads = 1)
k |
The number of neighbors to consider |
indexFolder |
The directory where the results and intermediate steps are output |
threads |
The number of threads to use when applying big knn |
## Not run:
model.knn <- setKNN(k=10000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.