View source: R/supervised-trees.R
| tl_predict_boost | R Documentation |
Predict using a gradient boosting model
tl_predict_boost(model, new_data, type = "response", n.trees = NULL, ...)
model |
A tidylearn boost model object |
new_data |
A data frame containing the new data |
type |
Type of prediction: "response" (default), "prob" (for classification) |
n.trees |
Number of trees to use for prediction (if NULL, uses optimal number) |
... |
Additional arguments |
Predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.