View source: R/dCVnet_innerloop.R
predict.multialpha.repeated.cv.glmnet | R Documentation |
obtain predictions from a
multialpha.repeated.cv.glmnet
object.
Uses the 'best' alpha & lambda hyperparameters determined by the
internal cross-validation results. For lambda this will be lambda.min
or lambda.1se (determined at model runtime) unless requested otherwise.
## S3 method for class 'multialpha.repeated.cv.glmnet'
predict(object, newx, alpha = NULL, s = NULL, ...)
object |
a a |
newx |
matrix of new values for x at which predictions are required. Note: no impact when type is "coefficients", "class" or "nonzero". |
alpha |
the penalty type alpha at which prediction is required. Leave NULL to use the cv-optimised value. |
s |
The penalty amount lambda at which prediction is required. Leave NULL to use the cv-optimised value. |
... |
passed to |
predict.cv.glmnet
,
predict.glmnet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.