Returns the data (instances and labels) present at this node
Returns the data (instances and labels) present at this node
The node index
List of instances
List of labels
Optional list of sample weights
List of instances, list of labels and list of sample weights, being a subset of the input X, y and sampleWeight
Classifies an instance based on its feature vector
Classifies an instance based on its feature vector
Feature list of an instance
Predicted label
Initializes a list of nodes
Initializes a list of nodes
number of nodes to initialize
start/intermediate tree object
List of nodes
Counts the nodes which have been filled by the user
Number of nodes in this tree
Predicits an instance's label based on its feature vector
Predicits an instance's label based on its feature vector
Feature list of an instance
Predicted label
Sets node attributes
Sets node attributes
The index of the node to be customized
The index of the feature the node decides on
The threshold the node's decision will apply
Is the signal region greater or less than the threshold?
The purity of the split in this node
The object holding the nodes
Updates an existing node with new decision instructions, in case its purity is improved
Updates an existing node with new decision instructions, in case its purity is improved
The index of the node to be customized
The index of the feature the decision is based on
The threshold of the proposed decision
Is the signal region greater or less than the threshold?
The purity of the proposed split
Weight of the tree (for boosting)
A class representing a decision tree