Create a container of forest samples
Usage
createForestSamples(
num_trees,
leaf_dimension = 1,
is_leaf_constant = FALSE,
is_exponentiated = FALSE
)
Arguments
- num_trees
Number of trees
- leaf_dimension
Dimensionality of the outcome model
- is_leaf_constant
Whether leaf is constant
- is_exponentiated
Whether forest predictions should be exponentiated before being returned
Value
ForestSamples
object
Examples
num_trees <- 100
leaf_dimension <- 2
is_leaf_constant <- FALSE
is_exponentiated <- FALSE
forest_samples <- createForestSamples(num_trees, leaf_dimension, is_leaf_constant, is_exponentiated)