Given a possibly filtered leaderboard tibble from board, to_list returns every model in a list.

to_list(leadrboard)

Arguments

leadrboard

the leaderboard tibble, or a filtered verison of it from board

Value

a list of caret models (train objects)

Examples

model_list <- board() %>% filter(group == 1) %>% to_list()
#> Warning: NAs introduced by coercion
#> Warning: NAs introduced by coercion
#> Warning: NAs introduced by coercion
#> Warning: NAs introduced by coercion
#> Error in data.matrix(data): (list) object cannot be coerced to type 'double'