public final class EntropySplitCrit extends EntropyBasedSplitCrit
Constructor and Description |
---|
EntropySplitCrit() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
double |
splitCritValue(Distribution bags)
Computes entropy for given distribution.
|
double |
splitCritValue(Distribution train,
Distribution test)
Computes entropy of test distribution with respect to training distribution.
|
logFunc, newEnt, oldEnt, splitEnt
splitCritValue, splitCritValue
public final double splitCritValue(Distribution bags)
splitCritValue
in class SplitCriterion
public final double splitCritValue(Distribution train, Distribution test)
splitCritValue
in class SplitCriterion
public java.lang.String getRevision()