tl_predict_boost: Predict using a gradient boosting model

View source: R/supervised-trees.R

tl_predict_boostR Documentation

Predict using a gradient boosting model

Description

Predict using a gradient boosting model

Usage

tl_predict_boost(model, new_data, type = "response", n.trees = NULL, ...)

Arguments

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

Value

Predictions


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