tl_predict_tree: Predict using a decision tree model
Description
Predict using a decision tree model
Usage
tl_predict_tree(model, new_data, type = "response", ...)
Arguments
- 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