public class TreeV3 extends water.api.schemas3.SchemaV3<water.Iced,TreeV3>
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
decision_paths |
java.lang.String[] |
descriptions |
java.lang.String[] |
features |
int[] |
left_children |
int[][] |
levels |
water.api.schemas3.KeyV3.ModelKeyV3 |
model |
java.lang.String[] |
nas |
TreeHandler.PlainLanguageRules |
plain_language_rules |
float[] |
predictions |
int[] |
right_children |
int |
root_node_id |
float[] |
thresholds |
java.lang.String |
tree_class |
java.lang.String |
tree_decision_path |
int |
tree_number |
Constructor and Description |
---|
TreeV3() |
createAndFillImpl, createImpl, extractVersionFromSchemaName, fillFromAny, fillFromBody, fillFromImpl, fillFromImpl, fillFromImpl, fillFromParms, fillFromParms, fillFromParms, fillImpl, fillImpl, getImplClass, getImplClass, getSchemaName, getSchemaType, getSchemaVersion, init_meta, markdown, markdown, newInstance, newInstance, setField, setSchemaType_doNotCall
@API(required=true, direction=INPUT, help="Key of the model the desired tree belongs to", level=critical) public water.api.schemas3.KeyV3.ModelKeyV3 model
@API(required=true, direction=INPUT, help="Index of the tree in the model.", level=critical) public int tree_number
@API(direction=INOUT, help="Name of the class of the tree. Ignored for regression and binomial.", level=critical) public java.lang.String tree_class
@API(direction=INPUT, help="Whether to generate plain language rules.", level=critical, values={"AUTO","TRUE","FALSE"}) public TreeHandler.PlainLanguageRules plain_language_rules
@API(direction=OUTPUT, help="Left child nodes in the tree") public int[] left_children
@API(direction=OUTPUT, help="Right child nodes in the tree") public int[] right_children
@API(direction=OUTPUT, help="Number of the root node") public int root_node_id
@API(direction=OUTPUT, help="Split thresholds (numeric and possibly categorical columns)") public float[] thresholds
@API(direction=OUTPUT, help="Names of the column of the split") public java.lang.String[] features
@API(direction=OUTPUT, help="Which way NA Splits (LEFT, RIGHT, NA)") public java.lang.String[] nas
@API(direction=OUTPUT, help="Description of the tree\'s nodes") public java.lang.String[] descriptions
@API(direction=OUTPUT, help="Categorical levels on the edge from the parent node") public int[][] levels
@API(direction=OUTPUT, help="Prediction values on terminal nodes") public float[] predictions
@API(direction=OUTPUT, help="Plain language rules representation of a trained decision tree") public java.lang.String tree_decision_path
@API(direction=OUTPUT, help="Plain language rules that were used in a particular prediction") public java.lang.String[] decision_paths