Module datarush.analytics
Class PruneConfiguration.C45
java.lang.Object
com.pervasive.datarush.analytics.decisiontree.pruner.PruneConfiguration
com.pervasive.datarush.analytics.decisiontree.pruner.PruneConfiguration.C45
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PruneConfiguration
The C4.5 pruning strategy.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pervasive.datarush.analytics.decisiontree.pruner.PruneConfiguration
PruneConfiguration.C45 -
Field Summary
Fields inherited from class com.pervasive.datarush.analytics.decisiontree.pruner.PruneConfiguration
C45 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the pruning confidence level.
-
Constructor Details
-
C45
public C45(double pruningConfidenceLevel) Creates a C4.5 prune configuration.- Parameters:
pruningConfidenceLevel- The pruning confidence level. Must be in the range [0,1].
-
-
Method Details
-
getPruningConfidenceLevel
public double getPruningConfidenceLevel()Returns the pruning confidence level. Controls the degree of pruning done. Reflects the confidence level that current tree will see equal or lesser errors in the test set than what was observed during training. Lower values result in more pruning; higher values result in less pruning.- Returns:
- the pruning confidence level.
-