| predict.kerasnip_step_view | R Documentation |
kerasnip_step_view ObjectsPredicts from the wrapped multistep workflow, then extracts
object$step's (and, if set, object$var's) value from every row's
nested .pred tibble into a flat column, so the result reads like a
single-output predict() call.
## S3 method for class 'kerasnip_step_view'
predict(object, new_data, type = "numeric", ...)
object |
A |
new_data |
A data frame of predictors. |
type |
One of |
... |
Passed to |
A tibble with a .pred column ("numeric"), or .pred/
.pred_lower/.pred_upper ("conf_int"/"pred_int").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.