All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.classifiers.j48.EntropyBasedSplitCrit

java.lang.Object
    |
    +----weka.classifiers.j48.SplitCriterion
            |
            +----weka.classifiers.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.4 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)

Constructor Index

 o EntropyBasedSplitCrit()
 

Method Index

 o newEnt(Distribution)
Computes entropy of distribution after splitting.
 o oldEnt(Distribution)
Computes entropy of distribution before splitting.
 o splitEnt(Distribution)
Computes entropy after splitting without considering the class values.

Constructor Detail

 o EntropyBasedSplitCrit
public EntropyBasedSplitCrit()

Method Detail

 o oldEnt
public final double oldEnt(Distribution bags)
          Computes entropy of distribution before splitting.
 o newEnt
public final double newEnt(Distribution bags)
          Computes entropy of distribution after splitting.
 o 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