predict.cva.glmnet | R Documentation |
Makes predictions from a cross-validated glmnet model with optimal value of lambda and alpha.
## S3 method for class 'cva.glmnet'
predict(object, newx, s = "lambda.1se", ...)
object |
Fitted |
newx |
Matrix of new values for |
s |
Value of penalty parameter lambda. Default value is |
... |
Other arguments passed to |
Object returned depends on arguments in ...
such as type
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.