predict.SupportVectorMachine: 'predict.SupportVectorMachine'

Description Usage Arguments

Description

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.

Usage

1
2
## S3 method for class 'SupportVectorMachine'
predict(object, newdata = NULL, ...)

Arguments

object

A SupportVectorMachine object.

newdata

Optionally, a data frame including the variables used to fit the model. If omitted, the data supplied to SupportVectorMachine() is used before any filtering.

...

Additional arguments to pass to predict.svm.


19900321/flipMultivariates documentation built on May 29, 2019, 8:33 a.m.