Learn R Programming

tidylearn (version 0.1.0)

tl_predict_boost: 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, ...)

Value

Predictions

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