Summary method for class big_sp_list.

# S3 method for big_sp_list
summary(object, best.only = FALSE, sort = FALSE, ...)

Arguments

object

An object of class big_sp_list.

best.only

Whether to return only one row corresponding to the best model? The best model is the one smallest $validation_loss.

sort

Whether to sort by $validation_loss. Default is FALSE.

...

Not used.

Value

A tibble with, for each $alpha, a mean $validation_loss, a mean vector of coefficients $beta, the corresponding number of non-zero coefficients $nb_var, and the reasons of method completion $message.