Learn R Programming

tidylearn (version 0.1.0)

tl_predict_forest: Predict using a random forest model

Description

Predict using a random forest model

Usage

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

Value

Predictions

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