| summary.TrainedSLOPE | R Documentation |
Produces a summary of a trained SLOPE model from cross-validation, including information about the optimal parameters and performance metrics.
## S3 method for class 'TrainedSLOPE'
summary(object, ...)
object |
an object of class |
... |
other arguments (currently ignored) |
An object of class 'summary_TrainedSLOPE' with the following
components:
call |
the call that produced the model |
measure |
the performance measure(s) used |
optima |
optimal parameter values and corresponding performance |
n_folds |
number of cross-validation folds |
n_repeats |
number of cross-validation repeats |
n_models |
total number of models evaluated |
cvSLOPE(), trainSLOPE(), print.summary_TrainedSLOPE()
Other model-tuning:
cvSLOPE(),
plot.TrainedSLOPE(),
refit(),
trainSLOPE()
tune <- cvSLOPE(
subset(mtcars, select = c("mpg", "drat", "wt")),
mtcars$hp,
q = c(0.1, 0.2),
n_folds = 5
)
summary(tune)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.