com.rapidminer.operator.learner.tree
Class PessimisticPruner
java.lang.Object
com.rapidminer.operator.learner.tree.PessimisticPruner
- All Implemented Interfaces:
- Pruner
public class PessimisticPruner
- extends java.lang.Object
- implements Pruner
This class provides a pruner based on some heuristic statistics. It cuts the tree
to reduce overfitting.
- Author:
- Sebastian Land, Ingo Mierswa
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PessimisticPruner
public PessimisticPruner(double confidenceLevel,
LeafCreator leafCreator)
prune
public void prune(Tree root)
- Specified by:
prune in interface Pruner
prunedLabel
public double prunedLabel(ExampleSet exampleSet)
pessimisticErrors
public double pessimisticErrors(double numberOfExamples,
double errorRate,
double confidenceLevel)
Copyright © 2001-2009 by Rapid-I