wrapper_ranger | R Documentation |
Random Forest wrapper for CCI
wrapper_ranger(
formula,
data,
train_indices,
test_indices,
metric,
metricfunc = NULL,
nthread = 1,
...
)
formula |
Model formula specifying the dependent and independent variables. |
data |
Data frame containing the dataset to be used for training and testing the model. |
train_indices |
A vector of indices specifying the rows in |
test_indices |
A vector of indices specifying the rows in |
metric |
Character string indicating the type of performance metric. Can be "RMSE" for regression, "Kappa" for binary classification, or multiclass classification. |
metricfunc |
Optional user-defined function to calculate a custom performance metric. This function should take the arguments |
nthread |
Integer. The number of threads to use for parallel processing. Default is 1. |
... |
Additional arguments passed to the |
A numeric value representing the performance metric of the model on the test set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.