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()
Split
featureIndex
in interface Split
public int numCategories()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public double[] leftCategories()
public double[] rightCategories()