Package org.jpmml.xgboost
Class Node
- java.lang.Object
-
- org.jpmml.xgboost.Node
-
- Direct Known Subclasses:
BinaryNode,JSONNode
public abstract class Node extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intSPLIT_CATEGORICALstatic intSPLIT_NUMERICAL
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleandefault_left()abstract BitSetget_split_categories()abstract booleanis_leaf()abstract floatleaf_value()abstract intleft_child()abstract intright_child()abstract intsplit_cond()abstract intsplit_index()abstract intsplit_type()
-
-
-
Field Detail
-
SPLIT_NUMERICAL
public static final int SPLIT_NUMERICAL
- See Also:
- Constant Field Values
-
SPLIT_CATEGORICAL
public static final int SPLIT_CATEGORICAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
is_leaf
public abstract boolean is_leaf()
-
leaf_value
public abstract float leaf_value()
-
left_child
public abstract int left_child()
-
right_child
public abstract int right_child()
-
default_left
public abstract boolean default_left()
-
split_index
public abstract int split_index()
-
split_type
public abstract int split_type()
-
split_cond
public abstract int split_cond()
-
get_split_categories
public abstract BitSet get_split_categories()
-
-