R/forest.R
createForest.Rd
Create a forest
createForest( num_trees, leaf_dimension = 1, is_leaf_constant = FALSE, is_exponentiated = FALSE )
Number of trees in the forest
Dimensionality of the outcome model
Whether leaf is constant
Whether forest predictions should be exponentiated before being returned
Forest object
Forest
num_trees <- 100 leaf_dimension <- 2 is_leaf_constant <- FALSE is_exponentiated <- FALSE forest <- createForest(num_trees, leaf_dimension, is_leaf_constant, is_exponentiated)