View source: R/as-workflow-sets.R
create_workflow_set | R Documentation |
Create a workflow set object tibble from a model spec tibble.
create_workflow_set(.model_tbl = NULL, .recipe_list = list(), .cross = TRUE)
.model_tbl |
The model table that is generated from a function like
|
.recipe_list |
Provide a list of recipes here that will get added to the workflow set object. |
.cross |
The default is TRUE, can be set to FALSE. This is passed to the
|
Create a workflow set
object/tibble from a model spec tibble where
the object class type is tidyaml_base_tbl
. This function will take in a list
of recipes and will grab the model specifications from the base tibble to
create the workflow sets object. You can also supply the logical of TRUE/FALSe
the .cross
parameter which gets passed to the corresponding parameter as an
argumnt to the workflowsets::workflow_set()
function.
A list object of workflows.
Steven P. Sanderson II, MPH
https://workflowsets.tidymodels.org/
Other Utility:
core_packages()
,
create_splits()
,
fast_classification_parsnip_spec_tbl()
,
fast_regression_parsnip_spec_tbl()
,
full_internal_make_wflw()
,
install_deps()
,
load_deps()
,
match_args()
library(recipes)
rec_obj <- recipe(mpg ~ ., data = mtcars)
spec_tbl <- fast_regression_parsnip_spec_tbl(
.parsnip_fns = "linear_reg",
.parsnip_eng = c("lm","glm")
)
create_workflow_set(
spec_tbl,
list(rec_obj)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.