Description Usage Arguments Value Examples
randomForest()
implements a default value for
mtry determined by the number of predictors used. To examine the influence
of mtry on prediction accuracy, make_mtry_series()
takes predictor
and response matrices and generate a series of mtry for use in a tune grid.
Let default value be N, make_mtry_series()
makes a numeric vector
consisting 10, N/2, N, 2N, and the number of predictors provided.
the number of predictors.
1 | make_mtry_series(x, y)
|
x |
a predictor matrix |
y |
a response matrix |
a numeric factor
1 | make_mtry_series(x = iris[ , 1:4], y = iris[ , 5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.