powered by
Provides a prediction value at a given lambda from svrpath object.
lambda
svrpath
# S3 method for svrpath predict(object, newx, lambda = NULL, criterion = "sic", ...)
The svrpath object
Values of x to be predicted. This is a matrix with observations per row. Default is x in the epspath object.
The value of the regularization paramter, lambda.
It provides predictions at an optimal lambda selected by SIC or GACV. "sic" or "gacv".
"sic"
"gacv"
Generic compatibility
In each case, the desired prediction.
# NOT RUN { # The 'eobj' is given by examples description of epspath(). predict.svrpath(obj, lambda = 10) # or predict(obj, criterion = 'sic') # } # NOT RUN { # }
Run the code above in your browser using DataLab