tl_predict_forest: Predict using a random forest model

View source: R/supervised-trees.R

tl_predict_forestR Documentation

Predict using a random forest model

Description

Predict using a random forest model

Usage

tl_predict_forest(model, new_data, type = "response", ...)

Arguments

model

A tidylearn forest model object

new_data

A data frame containing the new data

type

Type of prediction: "response" (default), "prob" (for classification)

...

Additional arguments

Value

Predictions


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