Learn R Programming

svrpath (version 0.1.2)

predict.epspath: Make predictions from an "epspath" object

Description

Provides a prediction value at a given epsilon from epspath object.

Usage

# S3 method for epspath
predict(object, newx, svr.eps = 1, ...)

Arguments

object

The epspath object

newx

Values of x to be predicted. This is a matrix with observations per row. Default is x in the epspath object.

svr.eps

The value of the "epsilon-insensitive loss" paramter, epsilon.

...

Generic compatibility

Value

In each case, the desired prediction.

Examples

Run this code
# NOT RUN {
# The 'eobj' is given by examples description of epspath().
predict(eobj, svr.eps = .1) 
# }

Run the code above in your browser using DataLab