public class CategoricalSplit extends java.lang.Object implements Split
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
featureIndex()
Index of feature which this split tests
|
int |
hashCode() |
double[] |
leftCategories()
Get sorted categories which split to the left
|
int |
numCategories() |
double[] |
rightCategories()
Get sorted categories which split to the right
|
public int featureIndex()
SplitfeatureIndex in interface Splitpublic int numCategories()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic double[] leftCategories()
public double[] rightCategories()