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

Class weka.classifiers.j48.PruneableDecList

java.lang.Object
   |
   +----weka.classifiers.j48.ClassifierDecList
           |
           +----weka.classifiers.j48.PruneableDecList

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

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

Constructor Index

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

Method Index

 o buildRule(Instances, Instances)
Method for building a pruned partial tree.
 o chooseIndex()
Method for choosing a subset to expand.
 o chooseLastIndex()
Choose last index (ie.

Constructors

 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

Methods

 o buildRule
 public void buildRule(Instances train,
                       Instances test) throws Exception
Method for building a pruned partial tree.

Throws: Exception
if tree can't be built successfully
 o chooseIndex
 public final int chooseIndex()
Method for choosing a subset to expand.

Overrides:
chooseIndex in class ClassifierDecList
 o chooseLastIndex
 public final int chooseLastIndex()
Choose last index (ie. choose rule).

Overrides:
chooseLastIndex in class ClassifierDecList

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