Class PruneableClassifierTree

java.lang.Object
weka.classifiers.trees.j48.ClassifierTree
weka.classifiers.trees.j48.PruneableClassifierTree
All Implemented Interfaces:
Serializable, CapabilitiesHandler, Drawable, RevisionHandler

public class PruneableClassifierTree extends ClassifierTree
Class for handling a tree structure that can be pruned using a pruning set.
Version:
$Revision: 14511 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • PruneableClassifierTree

      public PruneableClassifierTree(ModelSelection toSelectLocModel, boolean pruneTree, int num, boolean cleanup, int seed) throws Exception
      Constructor for pruneable tree structure. Stores reference to associated training data at each node.
      Parameters:
      toSelectLocModel - selection method for local splitting model
      pruneTree - true if the tree is to be pruned
      num - number of subsets of equal size
      cleanup -
      seed - the seed value to use
      Throws:
      Exception - if something goes wrong
  • Method Details