net.sf.myra.antree
Interface Pruner

All Known Implementing Classes:
AccuracyPruner, EntropyPruner, ErrorBasedPruner, LeafAdjustedPruner, LeafNodePruner

public interface Pruner

Version:
$Revision: 2320 $ $Date:: 2011-01-25 13:06:10#$
Author:
Fernando Esteban Barril Otero

Method Summary
 Tree prune(Tree tree, net.sf.myra.datamining.data.Dataset dataset)
          Prunes the specified tree.
 

Method Detail

prune

Tree prune(Tree tree,
           net.sf.myra.datamining.data.Dataset dataset)
Prunes the specified tree.

Parameters:
tree - the tree to be pruned.
dataset - the current data set.
Returns:
the (new) pruned tree.


Copyright © 2013. All Rights Reserved.