predict.LinearizedSVR: predict

Description Usage Arguments Details Value

View source: R/linearizedSVR.R

Description

Predict method for LinearizedSVR models

Usage

1
2
## S3 method for class 'LinearizedSVR'
predict(object, newdata, ...)

Arguments

object

a model previously trained using LinearizedSVRTrain()

newdata

a matrix of new data to run predictions on, with the same columns as X had during training

...

further arguments passed to or from other methods

Details

This method produces predicted value, obtained by evaluating the trained model object on the given data set newdata. The columns of newdata must correspond exactly to the columns of X when the model object was created.

Value

a vector of predicted regression values, with length equal to the number of rows in newdata.


LinearizedSVR documentation built on May 29, 2017, 9:38 p.m.