summary.TrainedSLOPE: Summarize TrainedSLOPE Model

View source: R/summary.R

summary.TrainedSLOPER Documentation

Summarize TrainedSLOPE Model

Description

Produces a summary of a trained SLOPE model from cross-validation, including information about the optimal parameters and performance metrics.

Usage

## S3 method for class 'TrainedSLOPE'
summary(object, ...)

Arguments

object

an object of class 'TrainedSLOPE', typically from a call to cvSLOPE() or trainSLOPE()

...

other arguments (currently ignored)

Value

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

See Also

cvSLOPE(), trainSLOPE(), print.summary_TrainedSLOPE()

Other model-tuning: cvSLOPE(), plot.TrainedSLOPE(), refit(), trainSLOPE()

Examples

tune <- cvSLOPE(
  subset(mtcars, select = c("mpg", "drat", "wt")),
  mtcars$hp,
  q = c(0.1, 0.2),
  n_folds = 5
)
summary(tune)


SLOPE documentation built on Jan. 28, 2026, 9:07 a.m.