Description Usage Arguments Value
View source: R/ranger_classification.R
This functions calls ranger using the parameter values in each row of the provided master_grid, using the data of the list elements. Please have a look at the [ranger doc](https://cran.r-project.org/web/packages/ranger/ranger.pdf) for explanation on the ranger related variables, the arguments are beginning with "ranger" in the description. Except for 'the list', 'master_grid' and '.row' all arguments need to be column names of 'master_grid'
1 2 3 4 5 6 7 8 9 10 11 12 | ranger_classification(
master_grid,
Target,
ML_object,
Cycle,
Number_of_trees,
Mtry_factor,
.row,
the_list,
step,
...
)
|
master_grid |
the data frame containing all parameter combinations |
Target |
char, the response variable |
ML_object |
factor or char, the name of the corresponding 'the_list' item |
Cycle |
integer, the current repetition |
Number_of_trees |
ranger, integer, number of trees per forest |
Mtry_factor |
ranger, factor to multiply default ranger mtry argument |
.row |
current row of master_grid |
the_list |
The input tables list |
step |
character declaring 'training' or 'prediction' |
... |
further parameters passed on to subfunctions |
a data frame with results and metrics for each row of the master_grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.