public class CategoricalSplittingRule extends AbstractSplittingRule
_criterionValue, _featureIndex
Constructor and Description |
---|
CategoricalSplittingRule(boolean[] mask) |
CategoricalSplittingRule(int featureIndex,
boolean[] mask,
double criterionValue) |
Modifier and Type | Method and Description |
---|---|
boolean[] |
getMask() |
boolean |
routeSample(double[] sample) |
java.lang.String |
toString() |
getCriterionValue, getFeatureIndex, setCriterionValue, setFeatureIndex
public CategoricalSplittingRule(int featureIndex, boolean[] mask, double criterionValue)
public CategoricalSplittingRule(boolean[] mask)
public boolean[] getMask()
public java.lang.String toString()
toString
in class AbstractSplittingRule
public boolean routeSample(double[] sample)
routeSample
in class AbstractSplittingRule