| predict.tidylearn_model | R Documentation |
Unified prediction interface for both supervised and unsupervised models
## S3 method for class 'tidylearn_model'
predict(object, new_data = NULL, type = "response", ...)
object |
A tidylearn model object |
new_data |
A data frame containing the new data. If NULL, uses training data. |
type |
Type of prediction. For supervised: "response" (default), "prob", "class". For unsupervised: "scores", "clusters", "transform" depending on method. |
... |
Additional arguments |
Predictions as a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.