Learn R Programming

LinearizedSVR (version 1.3)

predict.LinearizedSVR: predict

Description

Predict method for LinearizedSVR models

Usage

"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

Value

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

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.