Description Usage Arguments Value
View source: R/predict.cv_grid_lasso.R
Returns predicted response from grid lasso model with new data
1 2 |
object |
Object as returned by grid_lasso or cv_grid_lasso, provided return.list == T |
newx |
Design matrix for new observations |
l |
Specify point on solution path (optional) |
missing.data |
If TRUE then will use (slower) procedure that corrects for missing data, and will only return a (constant shifted) mean square error rather than actual predictions |
psd.method |
The way that the gram matrix is made positive semidefinite. By default an elastic net term, alternatives are "coco" for CoCoLasso |
... |
Additional arguments to pass to other |
Vector of predictions (or constant-shifted error if missing.data = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.