|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.AbstractPruner
net.sf.myra.datamining.ErrorBasedPruner
public class ErrorBasedPruner
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.
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 |
---|
public ErrorBasedPruner(AbstractObjectiveFunction function, ClassAssignator assignator)
ReducedErrorPruner
instance.
function
- assignator
- Method Detail |
---|
public net.sf.myra.framework.Trail explore(net.sf.myra.framework.Trail trail)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |