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

Class weka.classifiers.rules.part.C45PruneableDecList

java.lang.Object
    |
    +----weka.classifiers.rules.part.ClassifierDecList
            |
            +----weka.classifiers.rules.part.C45PruneableDecList

public class C45PruneableDecList
extends ClassifierDecList
Class for handling a partial tree structure pruned using C4.5's pruning heuristic.

Version:
$Revision: 1.6 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)

Constructor Index

 o C45PruneableDecList(ModelSelection, double, int)
Constructor for pruneable tree structure.

Method Index

 o buildDecList(Instances, boolean)
Builds the partial tree without hold out set.
 o getEstimatedErrorsForLeaf()
Computes estimated errors for leaf.

Constructor Detail

 o C45PruneableDecList
public C45PruneableDecList(ModelSelection toSelectLocModel,
                           double cf,
                           int minNum) throws java.lang.Exception
          Constructor for pruneable tree structure. Stores reference to associated training data at each node.
Parameters:
toSelectLocModel - selection method for local splitting model
cf - the confidence factor for pruning
minNum - the minimum number of objects in a leaf
Throws:
java.lang.Exception - if something goes wrong

Method Detail

 o buildDecList
public void buildDecList(Instances data,
                         boolean leaf) throws java.lang.Exception
          Builds the partial tree without hold out set.
Throws:
java.lang.Exception - if something goes wrong
Overrides:
buildDecList in class ClassifierDecList
 o getEstimatedErrorsForLeaf
public double getEstimatedErrorsForLeaf()
          Computes estimated errors for leaf.

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