Description Usage Arguments Format Value
A constructor to create a RFNode
basic node creator
1 2 3 |
sampleIndex |
A list of index of dataset used in this node and its children. 'sampleIndex' contains two keys 'averagingSampleIndex' and 'splittingSampleIndex'. 'averagingSampleIndex' is used to generate aggregated prediction for the node. 'splittingSampleIndex' is used for 'honestRF' which stores the splitting data when creating the tree. In default, 'splittingSampleIndex' is the same as 'averagingSampleIndex'. |
splitFeature |
Name of the feature that is used for splitting in this node. |
splitValue |
The value that is used for splitting in this node. |
child |
If the node is not a leaf node, the 'child' will be a list of two 'RFNode' objects. If it is a leaf node, the 'child' will be 'NULL'. |
An object of class NULL
of length 0.
a 'RFNode' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.