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

Class weka.classifiers.rules.part.PruneableDecList

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

public class PruneableDecList
extends ClassifierDecList
Class for handling a partial tree structure that can be pruned using a pruning set.

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

Constructor Index

 o PruneableDecList(ModelSelection, int)
Constructor for pruneable partial tree structure.

Method Index

 o buildDecList(Instances, Instances, boolean)
Builds the partial tree with hold out set
 o buildRule(Instances, Instances)
Method for building a pruned partial tree.

Constructor Detail

 o PruneableDecList
public PruneableDecList(ModelSelection toSelectLocModel,
                        int minNum)
          Constructor for pruneable partial tree structure.
Parameters:
toSelectLocModel - selection method for local splitting model
minNum - minimum number of objects in leaf

Method Detail

 o buildRule
public void buildRule(Instances train,
                      Instances test) throws java.lang.Exception
          Method for building a pruned partial tree.
Throws:
java.lang.Exception - if tree can't be built successfully
 o buildDecList
public void buildDecList(Instances train,
                         Instances test,
                         boolean leaf) throws java.lang.Exception
          Builds the partial tree with hold out set
Throws:
java.lang.Exception - if something goes wrong

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