net.sf.myra.datamining
Class ErrorBasedPruner

java.lang.Object
  extended by net.sf.myra.datamining.AbstractPruner
      extended by net.sf.myra.datamining.ErrorBasedPruner
All Implemented Interfaces:
net.sf.myra.framework.LocalSearch

public class ErrorBasedPruner
extends AbstractPruner

This class implements an error based pruning procedure based on the metric used by C4.5. The procedure consists of removing the last term of the rule while either the quality of the rule does not decrease or the reduced error is (sufficient) smaller than the original rule.

Author:
Fernando Esteban Barril Otero
See Also:
ErrorBasedMetric

Constructor Summary
ErrorBasedPruner(AbstractObjectiveFunction function, ClassAssignator assignator)
          Creates a new ReducedErrorPruner instance.
 
Method Summary
 net.sf.myra.framework.Trail explore(net.sf.myra.framework.Trail trail)
           
 
Methods inherited from class net.sf.myra.datamining.AbstractPruner
getClassAssignator, getFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorBasedPruner

public ErrorBasedPruner(AbstractObjectiveFunction function,
                        ClassAssignator assignator)
Creates a new ReducedErrorPruner instance.

Parameters:
function -
assignator -
Method Detail

explore

public net.sf.myra.framework.Trail explore(net.sf.myra.framework.Trail trail)


Copyright © 2013. All Rights Reserved.