When working with the recipes package, a simple recipe must be *prepared* using the [recipes::prep()] function first. When using recipies with rsample it is helpful to have a function that can prepare a recipe across a series of 'split' objects that are produced in this package. 'prepper' is a wrapper function around [recipes::prep()] that can be used to do this. See the vignette on "Recipes and rsample" for an example.
1 |
split_obj |
An 'rplit' object |
recipe |
An untrained 'recipe' object. |
... |
Arguments to pass to [recipes::prep()] such as 'verbose' or 'retain'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.