Nothing
data
argument has a nice errorCode
fit(workflow)
Condition
Error in `fit()`:
! `data` must be provided to fit a workflow.
control
argument has a nice errorCode
fit(workflow, mtcars, control = control)
Condition
Error in `fit()`:
! `control` must be a workflows control object created by `control_workflow()`.
Code
fit(workflow, mtcars)
Condition
Error in `.fit_pre()`:
! The workflow must have a formula, recipe, or variables preprocessor.
i Provide one with `add_formula()`, `add_recipe()`, or `add_variables()`.
Code
fit(workflow, mtcars)
Condition
Error in `.fit_pre()`:
! The workflow must have a model.
i Provide one with `add_model()`.
predict()
from workflow fit from individual piecesCode
predict(workflow_model, mtcars)
Condition
Error in `predict()`:
! Can't predict on an untrained workflow.
i Do you need to call `fit()`?
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.