Description Usage Arguments Value Author(s)
Fit a decision tree classifier.
1 2 | dec.tree.class.fit(X, Y, d = NULL, alpha = NULL, depth.max = 5L,
size = 1L, debug = FALSE)
|
X |
the predictors. A |
Y |
the responses. A |
d |
the number of features to subsample at each node. Defaults to |
alpha |
the prior parameters for the feature probabilities. A |
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 |
an object of class dec.tree.class
containing the following:
|
the decision tree. |
|
The training predictors. |
|
the training responses. |
|
d the number of features subsampled at each node. |
|
the sampling distribution for the features. A |
|
the maximum allowed tree depth. |
|
the maximum allowed tree depth. |
|
whether to save the predictors and responses that are categorized. |
Eric Bridgeford
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.