tl_predict_tree: Predict using a decision tree model

View source: R/supervised-trees.R

tl_predict_treeR Documentation

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

Value

Predictions


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.