predict.SupportVectorMachine | R Documentation |
predict.SupportVectorMachine
Predicts values for numeric outcomes and group membership for categories based on newdata
and a fitted SupportVectorMachine
object. A value (which may be NA) is returned for every instance
including those with missing data. If newdata
is not specified the fitted data
before filtering
are used. NA is returned for cases with unfitted factor levels or any missing data.
## S3 method for class 'SupportVectorMachine'
predict(object, newdata = NULL, ...)
object |
A |
newdata |
Optionally, a data frame including the variables used to fit the model.
If omitted, the |
... |
Additional arguments to pass to predict.svm. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.