All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.classifiers.trees.j48.EntropyBasedSplitCrit
java.lang.Object
|
+----weka.classifiers.trees.j48.SplitCriterion
|
+----weka.classifiers.trees.j48.EntropyBasedSplitCrit
- public abstract class EntropyBasedSplitCrit
- extends SplitCriterion
"Abstract" class for computing splitting criteria
based on the entropy of a class distribution.
- Version:
- $Revision: 1.5 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz)
EntropyBasedSplitCrit()
-
logFunc(double)
- Help method for computing entropy.
newEnt(Distribution)
- Computes entropy of distribution after splitting.
oldEnt(Distribution)
- Computes entropy of distribution before splitting.
splitEnt(Distribution)
- Computes entropy after splitting without considering the
class values.
EntropyBasedSplitCrit
public EntropyBasedSplitCrit()
logFunc
public final double logFunc(double num)
Help method for computing entropy.
oldEnt
public final double oldEnt(Distribution bags)
Computes entropy of distribution before splitting.
newEnt
public final double newEnt(Distribution bags)
Computes entropy of distribution after splitting.
splitEnt
public final double splitEnt(Distribution bags)
Computes entropy after splitting without considering the
class values.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home