Description Usage Arguments Value Examples
Prints the layout of a specified tree.
1 |
forest |
a rerf forest structure. |
numTree |
the tree number to print. (numTree=1) |
pretty |
boolean if TRUE the column of cut features are formatted nicely for viewing. (FALSE) |
a data.frame with the following information about the tree:
nodeNum
The node number
LC
The id of the left child of the node
RC
The id of the right child of the node
CutValue
The cut value of non-terminal nodes, otherwise NA.
nodeClass
The class vote of a terminal node when used for classification/prediction.
CutFeatures
a list of ordered pairs (d, w), where
d
is the original feature and w
is the corresponding
weight.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.