This method is a straightforward implementation of the gain
ratio criterion for the given distribution.
splitCritValue
final public double splitCritValue(Distribution bags, double totalnoInst, double numerator)(Code)
This method computes the gain ratio in the same way C4.5 does.
Parameters: bags - the distribution Parameters: totalnoInst - the weight of ALL instances Parameters: numerator - the info gain
Fields inherited from weka.classifiers.trees.j48.EntropyBasedSplitCrit