public abstract class EntropyBasedSplitCrit extends SplitCriterion
Constructor and Description |
---|
EntropyBasedSplitCrit() |
Modifier and Type | Method and Description |
---|---|
double |
logFunc(double num)
Help method for computing entropy.
|
double |
newEnt(Distribution bags)
Computes entropy of distribution after splitting.
|
double |
oldEnt(Distribution bags)
Computes entropy of distribution before splitting.
|
double |
splitEnt(Distribution bags)
Computes entropy after splitting without considering the
class values.
|
splitCritValue, splitCritValue, splitCritValue, splitCritValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRevision
public final double logFunc(double num)
public final double oldEnt(Distribution bags)
public final double newEnt(Distribution bags)
public final double splitEnt(Distribution bags)