This class represents a model of a Tree built by one of H2O's algorithms (GBM, Random Forest).
# S4 method for H2OTree show(object)
H2ONode representing the beginning of the tree behind the model. Allows further tree traversal.
integer vector with left child nodes of tree's nodes
integer vector with right child nodes of tree's nodes
integer representing identification number of a node. Node IDs are generated by H2O.
character vector with descriptions for each node to be found in the tree. Contains split threshold if the split is based on numerical column.
For cactegorical splits, it contains list of categorical levels for transition from the parent node.
character with the name of the model this tree is related to.
integer representing the order in which the tree has been built in the model.
character representing name of tree's class. Number of tree classes equals to the number of levels in categorical response column.
As there is exactly one class per categorical level, name of tree's class equals to the corresponding categorical level of response column.
In case of regression and binomial, the name of the categorical level is ignored can be omitted, as there is exactly one tree built in both cases.
numeric split thresholds. Split thresholds are not only related to numerical splits, but might be present in case of categorical split as well.
character with names of the feature/column used for the split.
character representing categorical levels on split from parent's node belonging into this node. NULL for root node or non-categorical splits.
character representing if NA values go to the left node or right node. May be NA if node is a leaf.
numeric representing predictions for each node in the graph.
character, plain language rules representation of a trained decision tree
character representing plain language rules that were used in a particular prediction.
character list of categorical levels leading to the left child node. Only present when split is categorical, otherwise none.
character list of categorical levels leading to the right child node. Only present when split is categorical, otherwise none.