fully_trained | R Documentation |
Check to see if a recipe is trained/prepared
fully_trained(x)
x |
A recipe |
A logical which is true if all of the recipe steps have been run
through prep
. If no steps have been added to the recipe, TRUE
is
returned only if the recipe has been prepped.
developer_functions
rec <- recipe(Species ~ ., data = iris) %>%
step_center(all_numeric())
rec %>% fully_trained()
rec %>%
prep(training = iris) %>%
fully_trained()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.