setup.Ranger | R Documentation |
Set s_Ranger parameters
setup.Ranger(
n.trees = 1000,
min.node.size = 1,
mtry = NULL,
grid.resample.params = setup.resample("kfold", 5),
ifw = TRUE,
upsample = FALSE,
downsample = FALSE,
resample.seed = NULL,
...
)
n.trees |
Integer: Number of trees to grow. Default = 1000 |
min.node.size |
[gS] Integer: Minimum node size |
mtry |
[gS] Integer: Number of features sampled randomly at each split. Defaults to square root of n of features for classification, and a third of n of features for regression. |
grid.resample.params |
List: Output of setup.resample defining grid search parameters. |
ifw |
Logical: If TRUE, apply inverse frequency weighting
(for Classification only).
Note: If |
upsample |
Logical: If TRUE, upsample training set cases not belonging in majority outcome group |
downsample |
Logical: If TRUE, downsample majority class to match size of minority class |
resample.seed |
Integer: If provided, will be used to set the seed during upsampling. Default = NULL (random seed) |
... |
Additional arguments to be passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.