Fit a random forest model
tl_fit_forest(
data,
formula,
is_classification = FALSE,
ntree = 500,
mtry = NULL,
importance = TRUE,
...
)A fitted random forest model
A data frame containing the training data
A formula specifying the model
Logical indicating if this is a classification problem
Number of trees to grow (default: 500)
Number of variables randomly sampled at each split
Whether to compute variable importance (default: TRUE)
Additional arguments to pass to randomForest()