public class SplitStatistics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
_leftCount |
int |
_leftCount0 |
int |
_rightCount |
int |
_rightCount0 |
AbstractSplittingRule |
_splittingRule |
Constructor and Description |
---|
SplitStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
accumulateLeftStatistics(int leftCount,
int leftCount0) |
void |
accumulateRightStatistics(int rightCount,
int rightCount0) |
java.lang.Double |
binaryEntropy() |
void |
copyLeftValues(SplitStatistics toCopy) |
void |
copyRightValues(SplitStatistics toCopy) |
static double |
entropyBinarySplit(double oneClassFrequency) |
SplitStatistics |
setCriterionValue(double criterionOfSplit) |
SplitStatistics |
setFeatureIndex(int featureIndex) |
public AbstractSplittingRule _splittingRule
public int _leftCount
public int _leftCount0
public int _rightCount
public int _rightCount0
public void accumulateLeftStatistics(int leftCount, int leftCount0)
public void accumulateRightStatistics(int rightCount, int rightCount0)
public void copyLeftValues(SplitStatistics toCopy)
public void copyRightValues(SplitStatistics toCopy)
public SplitStatistics setCriterionValue(double criterionOfSplit)
public SplitStatistics setFeatureIndex(int featureIndex)
public static double entropyBinarySplit(double oneClassFrequency)
public java.lang.Double binaryEntropy()