public class CategoricalSplit extends Object implements Split
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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 Objectpublic boolean equals(Object o)
equals in class Objectpublic double[] leftCategories()
public double[] rightCategories()