net.sf.myra.antree
Class EntropyPruner

java.lang.Object
  extended by net.sf.myra.antree.EntropyPruner
All Implemented Interfaces:
Pruner

public class EntropyPruner
extends java.lang.Object
implements Pruner

Version:
$Revision$ $Date:: #$
Author:
Fernando Esteban Barril Otero

Constructor Summary
EntropyPruner()
           
 
Method Summary
 Tree prune(Tree tree, net.sf.myra.datamining.data.Dataset dataset)
          Prunes the specified tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntropyPruner

public EntropyPruner()
Method Detail

prune

public Tree prune(Tree tree,
                  net.sf.myra.datamining.data.Dataset dataset)
Description copied from interface: Pruner
Prunes the specified tree.

Specified by:
prune in interface Pruner
Parameters:
tree - the tree to be pruned.
dataset - the current data set.
Returns:
the (new) pruned tree.


Copyright © 2013. All Rights Reserved.