Description Usage Arguments Value Examples
Workflow Target
1 | tar_workflow(name, ..., tar_args = list())
|
name |
Name of target |
... |
Functions piped to from |
tar_args |
Arguments passed to |
A tar_target
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
list(
# `x` is some template data frame
tar_recipe(
make_recipe,
V1 ~ V2 + V3,
data = x
),
# Creating a model
tar_model(
make_model_rf,
rand_forest,
set_mode("regression"),
set_engine("ranger"),
tar_args = list(format = "qs")
),
# Creating the workflow
tar_workflow(
make_workflow_rf,
workflows::add_model(make_model_rf),
workflows::add_recipe(make_recipe)
)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.