Description Usage Arguments Value Author(s) See Also
Due to the way glmnet
is implemented, the regularization alpha
can not be modified after the model is fitted.
1 2 3 4 5 | predict_glmnet(object, x, s, ...)
predict_ridge_regression(object, x, s, ...)
predict_lasso(object, x, s, ...)
|
object |
Fitted model. |
x |
New data to be predicted. |
s |
Regularization parameter lambda. |
... |
Sent to |
A list with a subset of the following elements:
prediction
The response of the modeling problem, i.e. a factor for classification, problems, a numeric for regressions, and a relative risk for survival analyses.
probability
Data frame of predicted class probabilities.
link
Link function values.
Christofer Bäcklin
emil
, fit_glmnet
,
importance_glmnet
, modeling_procedure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.