Description Usage Arguments Value Author(s)
Fit a Bayesian Decision-Making Forest Classifier.
1 2 3 |
X |
the predictors. A |
Y |
the responses. A |
d |
the number of features to subsample at each node. Defaults to |
alpha |
the feature sampling prior. Corresponds to alpha for a Dirichlet distribution. If |
ntrees |
the number of trees to construct. Defaults to |
bagg |
the relative size of the subsamples for the training set. A numeric s.t.
|
depth.max |
the maximum allowed tree depth. Defaults to |
size |
the minimum allowed number of samples for an individual node. Defaults to |
debug |
whether to save the predictors and responses that are categorized. Defaults to |
mc.cores |
the number of cores to use. Should be |
train.params |
if you wish to provide specialized parameters for training, a named list containing the following named elements:
Any unset parameters will default to the values provided above (or the corresponding defaults if unprovided). |
... |
trailing arguments. |
an object of class rf.class
containing the following:
|
A list a decision trees. |
|
the method used to fit the forest. |
|
the hyperparameters of the Dirichlet Prior. |
|
the hyperparamaters of the Dirichlet Posterior. |
Eric Bridgeford
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.