Description Usage Arguments Examples
'step_pretrained_text_embedding' creates a *specification* of a recipe step that will transform text data into its numerical transformation based on a pretrained model.
1 2 3 4 5 6 7 8 9 10 |
recipe |
A recipe object. The step will be added to the sequence of operations for this recipe. |
... |
One or more selector functions to choose variables. |
role |
Role for the created variables |
trained |
A logical to indicate if the quantities for preprocessing have been estimated. |
handle |
the Module handle to resolve. |
args |
other arguments passed to [hub_load()]. |
skip |
A logical. Should the step be skipped when the recipe is baked by [recipes::bake.recipe()]? While all operations are baked when [recipes::prep.recipe()] is run, some operations may not be able to be conducted on new data (e.g. processing the outcome variable(s)). Care should be taken when using 'skip = TRUE' as it may affect the computations for subsequent operations |
id |
A character string that is unique to this step to identify it. |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.