predict.relaxo: predict method for class relaxo

Description Usage Arguments Value Author(s) References

Description

Prediction with Relaxed Lasso

Usage

1
2
## S3 method for class 'relaxo'
predict(object, newX = NULL, lambda = NULL, phi = NULL,...)

Arguments

object

An object of class relaxo

newX

A data frame or matrix containing new data. If not given, the prediction for the original training data is returned.

lambda

The penalty parameter for variable selection.

phi

The relaxation parameter in the interval [0,1].

...

other arguments (currently ignored).

Value

A numerical vector, containing the predictions for the new data points (or the fitted values if newX=NULL).

Author(s)

Nicolai Meinshausen nicolai@stat.berkeley.edu

References

N. Meinshausen, "Relaxed Lasso", Computational Statistics and Data Analysis, to appear. http://www.stat.berkeley.edu/~nicolai



Search within the relaxo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.