View source: R/plot_functions.R
multiHyperRisk | R Documentation |
multiHyperRisk()
produces plots of the cross-validated
risk for estimators with more than one hyperparameter. The function
transforms one of the hyperparameters into a factor and uses it to
distinguish between the risk of various estimators. If one of the
hyperparameters has only one unique value, that hyperparameter is used as
the factor variable. If all hyperparameters have only one unique value, a
plot is not generated for that estimator class.
multiHyperRisk(dat, estimator, switch_vars = FALSE, min_max = FALSE)
dat |
A |
estimator |
A |
switch_vars |
A |
min_max |
A |
A named list
of plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.