.extract | R Documentation |
Extracts cv.glmnet
-like object.
.extract(fit, lambda, cvm, type.measure)
fit |
matrix with one row for each sample
("gaussian", "binomial" and "poisson"),
or one row for each fold (only "cox"),
and one column for each |
lambda |
lambda sequence: vector of decreasing positive values |
cvm |
mean cross-validated loss:
vector of same length as |
type.measure |
... loss function: character "deviance", "mse", "mae", "class", or "auc" |
NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.