public class TreeV3 extends SchemaV3
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
decisionPaths
Plain language rules that were used in a particular prediction
|
java.lang.String[] |
descriptions
Description of the tree's nodes
|
java.lang.String[] |
features
Names of the column of the split
|
int[] |
leftChildren
Left child nodes in the tree
|
int[][] |
levels
Categorical levels on the edge from the parent node
|
ModelKeyV3 |
model
Key of the model the desired tree belongs to
|
java.lang.String[] |
nas
Which way NA Splits (LEFT, RIGHT, NA)
|
TreeHandlerPlainLanguageRules |
plainLanguageRules
Whether to generate plain language rules.
|
float[] |
predictions
Prediction values on terminal nodes
|
int[] |
rightChildren
Right child nodes in the tree
|
int |
rootNodeId
Number of the root node
|
float[] |
thresholds
Split thresholds (numeric and possibly categorical columns)
|
java.lang.String |
treeClass
Name of the class of the tree.
|
java.lang.String |
treeDecisionPath
Plain language rules representation of a trained decision tree
|
int |
treeNumber
Index of the tree in the model.
|
| Constructor and Description |
|---|
TreeV3()
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return the contents of this object as a JSON String.
|
public ModelKeyV3 model
@SerializedName(value="tree_number") public int treeNumber
@SerializedName(value="tree_class") public java.lang.String treeClass
@SerializedName(value="plain_language_rules") public TreeHandlerPlainLanguageRules plainLanguageRules
@SerializedName(value="left_children") public int[] leftChildren
@SerializedName(value="right_children") public int[] rightChildren
@SerializedName(value="root_node_id") public int rootNodeId
public float[] thresholds
public java.lang.String[] features
public java.lang.String[] nas
public java.lang.String[] descriptions
public int[][] levels
public float[] predictions
@SerializedName(value="tree_decision_path") public java.lang.String treeDecisionPath
@SerializedName(value="decision_paths") public java.lang.String[] decisionPaths