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