|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.decisiontree2.learner.Pruner
public final class Pruner
Class implementing pruning schemes.
Method Summary | |
---|---|
static void |
mdlPruning(DecisionTree decTree)
Prunes a DecisionTree according to the minimum description lenght
(MDL) principle. |
static void |
trainingErrorPruning(DecisionTree decTree)
Prunes a DecisionTree according to the training error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void mdlPruning(DecisionTree decTree)
DecisionTree
according to the minimum description lenght
(MDL) principle.
decTree
- the decision tree to prunepublic static void trainingErrorPruning(DecisionTree decTree)
DecisionTree
according to the training error. I.e.
if the error in the subtree according to the training data is the same
as in the current node, the subtree is pruned, as nothing is gained.
decTree
- the decision tree to prune
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |