View source: R/supervised-trees.R
| tl_predict_tree | R Documentation |
Predict using a decision tree model
tl_predict_tree(model, new_data, type = "response", ...)
model |
A tidylearn tree model object |
new_data |
A data frame containing the new data |
type |
Type of prediction: "response" (default), "prob" (for classification), "class" (for classification) |
... |
Additional arguments |
Predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.