powered by
Produces a summary of a trained SLOPE model from cross-validation, including information about the optimal parameters and performance metrics.
# S3 method for TrainedSLOPE summary(object, ...)
An object of class 'summary_TrainedSLOPE' with the following components:
'summary_TrainedSLOPE'
the call that produced the model
the performance measure(s) used
optimal parameter values and corresponding performance
number of cross-validation folds
number of cross-validation repeats
total number of models evaluated
an object of class 'TrainedSLOPE', typically from a call to cvSLOPE() or trainSLOPE()
'TrainedSLOPE'
cvSLOPE()
trainSLOPE()
other arguments (currently ignored)
cvSLOPE(), trainSLOPE(), print.summary_TrainedSLOPE()
print.summary_TrainedSLOPE()
Other model-tuning: cvSLOPE(), plot.TrainedSLOPE(), refit(), trainSLOPE()
plot.TrainedSLOPE()
refit()
tune <- cvSLOPE( subset(mtcars, select = c("mpg", "drat", "wt")), mtcars$hp, q = c(0.1, 0.2), n_folds = 5 ) summary(tune)
Run the code above in your browser using DataLab