plot_lambdas | R Documentation |
Plot of cross-validated glmnet lambda parameter against deviance for each outer CV fold.
plot_lambdas(
x,
scheme = NULL,
palette = "Dark 3",
showLegend = if (x$outer_method == "cv") "topright" else NULL,
...
)
x |
Fitted "nestcv.glmnet" object |
scheme |
colour scheme |
palette |
palette name (one of |
showLegend |
Either a keyword to position the legend or |
... |
other arguments passed to plot. Use |
No return value
Myles Lewis
nestcv.glmnet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.