predict.cva.glmnet {nestedcv} | R Documentation |
Predict method for cva.glmnet models
Description
Makes predictions from a cross-validated glmnet model with optimal value of lambda and alpha.
Usage
## S3 method for class 'cva.glmnet'
predict(object, newx, s = "lambda.1se", ...)
Arguments
object |
Fitted |
newx |
Matrix of new values for |
s |
Value of penalty parameter lambda. Default value is |
... |
Other arguments passed to |
Value
Object returned depends on arguments in ...
such as type
.
[Package nestedcv version 0.7.9 Index]