responseCounts |
Appears only for classification trees. Number of observations in each class at the node identified by id. |
sum |
Appears only for regression trees. Sum of the values of the response variable at the node identified by id. |
sumSq |
Appears only for regression trees. Sum of the squared values of the response variable at the node identified by id. |
size |
Total number of observations at the node identified by id. |
id |
Node identifier. |
maxDepth |
Maximum possible depth of the tree, starting from the node identified by id. For the root node, this is the value of the MaxDepth argument in the function call. For leaf nodes, this value is 0. For other nodes, this value is the maximum possible depth of the tree, starting from that node. |
split |
Indicates the start of a JSON item describing a split at the node identified by id. |
attr |
Attribute (predictor) on which the algorithm split at the node identified by id. |
leftCategories |
Appears only for splits where the attribute (identified by attr) is categorical. Categories assigned to the left child of the split. |
rightCategories |
Appears only for splits where the attribute is categorical. Categories assigned to the right child of the split. |
score |
Gini score of the node identified by id. |
type |
Type of tree and split. Possible values:
- CLASSIFICATION_CATEGORICAL_SPLIT
- CLASSIFICATION_NUMERIC_SPLIT
- REGRESSION_CATEGORICAL_SPLIT
- REGRESSION_NUMERIC_SPLIT
|
leftNodeSize |
Number of observations assigned to the left node of the split. |
rightNodeSize |
Number of observations assigned to the right node of the split. |
scoreImprove |
Score improvement at the node identified by id. |
leftChild |
Indicates the start of a JSON item describing the left child of the node identified by id. |
rightChild |
Indicates the start of a JSON item describing the right child of the node identified by id. |
nodeType |
Type of the node identified by id. Possible values:
- CLASSIFICATION_NODE
- CLASSIFICATION_LEAF
- REGRESSION_NODE
- REGRESSION_LEAF
|