View source: R/kerasnip_add_tailor.R
| predict.kerasnip_tailored_fit | R Documentation |
kerasnip_tailored_fit ObjectsPredicts from the underlying full workflow, applies the fitted tailor
to the target output's/step's predictions, and splices the adjusted
values back in: .pred_<output>/.pred_class_<output>-suffixed columns
for a multi-output model, or the matching .step entry in every row's
nested tibble for a multistep model. Every other output/step is returned
exactly as a plain predict() on the underlying fit would give it.
## S3 method for class 'kerasnip_tailored_fit'
predict(object, new_data, ...)
object |
A |
new_data |
A data frame of predictors. |
... |
Not used. |
A tibble in the full multi-output/multistep prediction shape.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.