ranger_regression: Run ranger regression with parameters of data.frame rows.

Description Usage Arguments Value

View source: R/ranger_regression.r

Description

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'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ranger_regression(
  master_grid,
  Target,
  ML_object,
  Cycle,
  Number_of_trees,
  Mtry_factor,
  .row,
  the_list,
  step,
  ...
)

Arguments

master_grid

the data frame containing all parameter combinations

Target

character, the response variable

ML_object

factor or character, 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

Value

a data frame with results and metrics for each row of the master_grid


RJ333/phyloseq2ML documentation built on June 2, 2020, 9:25 p.m.