|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.antree.AccuracyPruner
public class AccuracyPruner
Constructor Summary | |
---|---|
AccuracyPruner()
|
Method Summary | |
---|---|
Tree |
prune(Tree tree,
net.sf.myra.datamining.data.Dataset dataset)
Prunes the tree based on the reduced-error pruning procedure of the C4.5 algorithm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccuracyPruner()
Method Detail |
---|
public Tree prune(Tree tree, net.sf.myra.datamining.data.Dataset dataset)
prune
in interface Pruner
tree
- the tree to be pruned.dataset
- the data set used during the pruning (this method assumes
that it is the training set).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |