fnn_pred | R Documentation |
'fnn_pred' is a wrapper for 'FNN' fast nearest neighbor models
fnn_pred(object, newdata, prob = FALSE, ...)
object |
parsnip model spec. |
newdata |
data.frame or matrix of training data. |
prob |
logical return predicted probability of the winning class, default = FALSE. |
... |
additional arguments to pass to FNN, currently unused. |
data.frame containing the predicted results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.