public abstract class AbstractSplittingRule extends water.Iced<AbstractSplittingRule>
Modifier and Type | Field and Description |
---|---|
protected double |
_criterionValue |
protected int |
_featureIndex |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSplittingRule() |
Modifier and Type | Method and Description |
---|---|
double |
getCriterionValue() |
int |
getFeatureIndex() |
abstract boolean |
routeSample(double[] sample) |
void |
setCriterionValue(double criterionOfSplit) |
void |
setFeatureIndex(int featureIndex) |
abstract java.lang.String |
toString() |
protected int _featureIndex
protected double _criterionValue
public double getCriterionValue()
public int getFeatureIndex()
public abstract boolean routeSample(double[] sample)
public abstract java.lang.String toString()
toString
in class java.lang.Object
public void setCriterionValue(double criterionOfSplit)
public void setFeatureIndex(int featureIndex)