When I run the example code in the readme of package workflowsets from the page:
I had an error message:
set.seed(123)
chi_models <-
chi_models %>%
workflow_map("tune_grid", resamples = splits, grid = 10,
metrics = metric_set(mae), verbose = TRUE)
i 1 of 7 tuning: simple_glmnet
Error: Some elements of 'result' do not have class tune_results
.
Can you help me figure out where the error from? Thanks.