tidymodels, how to set verbosity when fitting a workflow
myModel<- workflow() %>%
add_model(model_spec) %>%
add_recipe(recipe_spec) %>%
fit(df_train,verbosity=0) <-does not work
does not work too:
parsnip::fit(df_train,control_workflow(control_parsnip=control_parsnip(verbosity=0)))
verbosity is not an argument to fit.workflow() so that shouldn't work. Here is the help page.
To set the verbosity of the model, you can quiet the results using control_parsnip() (as you show). Since this isn't a reproducible example, we can't tell what went wrong for your data/models, but here is an example where it does work: