|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweka.classifiers.trees.j48.SplitCriterion
weka.classifiers.trees.j48.EntropyBasedSplitCrit
weka.classifiers.trees.j48.EntropySplitCrit
Class for computing the entropy for a given distribution.
| Constructor Summary | |
EntropySplitCrit()
|
|
| Method Summary | |
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. |
| Methods inherited from class weka.classifiers.trees.j48.EntropyBasedSplitCrit |
logFunc, newEnt, oldEnt, splitEnt |
| Methods inherited from class weka.classifiers.trees.j48.SplitCriterion |
splitCritValue, splitCritValue |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EntropySplitCrit()
| Method Detail |
public final double splitCritValue(Distribution bags)
splitCritValue in class SplitCriterion
public final double splitCritValue(Distribution train,
Distribution test)
splitCritValue in class SplitCriterion
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||