multiHyperRisk {cvCovEst} | R Documentation |
Multi-Hyperparameter Risk Plots
Description
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.
Usage
multiHyperRisk(dat, estimator, switch_vars = FALSE, min_max = FALSE)
Arguments
dat |
A |
estimator |
A |
switch_vars |
A |
min_max |
A |
Value
A named list
of plots.