View source: R/mod_penalized_l_r_utils.R
e_coeff_landa | R Documentation |
Plot the coefficients and selected lambda of a glmnet model.
e_coeff_landa(model, category, sel.lambda = NULL, label = "Log Lambda")
model |
a glmnet model. |
category |
a category of the variable to be predicted. |
sel.lambda |
the selected lambda. |
label |
a character specifying the title to use on selected lambda tooltip. |
echarts4r plot
Joseline Quiros <joseline.quiros@promidat.com>
modelo <- traineR::train.glmnet(Species~., iris)
e_coeff_landa(modelo, 'setosa', log(modelo$lambda[1]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.