|
||||||||||
| 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
public abstract class EntropyBasedSplitCrit
"Abstract" class for computing splitting criteria based on the entropy of a class distribution.
| Constructor Summary | |
|---|---|
EntropyBasedSplitCrit()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class weka.classifiers.trees.j48.SplitCriterion |
|---|
splitCritValue, splitCritValue, splitCritValue, splitCritValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface weka.core.RevisionHandler |
|---|
getRevision |
| Constructor Detail |
|---|
public EntropyBasedSplitCrit()
| Method Detail |
|---|
public final double logFunc(double num)
public final double oldEnt(Distribution bags)
public final double newEnt(Distribution bags)
public final double splitEnt(Distribution bags)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||