Plot results from cross-validation
Arguments
- x
an object of class
'TrainedSLOPE'
, typically from a call tocvSLOPE()
- plot_min
whether to mark the location of the penalty corresponding to the best prediction score
- ci_alpha
alpha (opacity) for fill in confidence limits
- ci_border
color (or flag to turn off and on) the border of the confidence limits
- ci_col
color for border of confidence limits
- plot_args
list of additional arguments to pass to
plot()
, which sets up the plot frame- polygon_args
list of additional arguments to pass to
graphics::polygon()
, which fills the confidence limits- lines_args
list of additional arguments to pass to
graphics::lines()
, which plots the mean- abline_args
list of additional arguments to pass to
graphics::abline()
, which plots the minimum- index
an optional index, to plot only one (the index-th) set of the parameter combinations.
- measure
any of the measures used in the call to
trainSLOPE()
. Ifmeasure = "auto"
then deviance will be used for binomial and multinomial models, whilst mean-squared error will be used for Gaussian and Poisson models.- ...
ignored
See also
Other model-tuning:
cvSLOPE()
,
trainSLOPE()