Unified prediction interface for both supervised and unsupervised models
# S3 method for tidylearn_model
predict(object, new_data = NULL, type = "response", ...)Predictions as a tibble
A tidylearn model object
A data frame containing the new data. If NULL, uses training data.
Type of prediction. For supervised: "response" (default), "prob", "class". For unsupervised: "scores", "clusters", "transform" depending on method.
Additional arguments