|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.learner.AbstractLearner
com.rapidminer.operator.learner.tree.AbstractTreeLearner
com.rapidminer.operator.learner.tree.DecisionTreeLearner
public class DecisionTreeLearner
This operator learns decision trees from both nominal and numerical data. Decision trees are powerful classification methods which often can also easily be understood. This decision tree learner works similar to Quinlan's C4.5 or CART.
The actual type of the tree is determined by the criterion, e.g. using gain_ratio or Gini for CART / C4.5.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_CONFIDENCE
The parameter name for "The confidence level used for pruning. |
static java.lang.String |
PARAMETER_MAXIMAL_DEPTH
The parameter name for the maximum tree depth. |
static java.lang.String |
PARAMETER_NO_PRE_PRUNING
|
static java.lang.String |
PARAMETER_NO_PRUNING
The parameter name for "Disables the pruning and delivers an unpruned tree. |
static java.lang.String |
PARAMETER_NUMBER_OF_PREPRUNING_ALTERNATIVES
|
| Fields inherited from class com.rapidminer.operator.learner.tree.AbstractTreeLearner |
|---|
CRITERIA_CLASSES, CRITERIA_NAMES, CRITERION_ACCURACY, CRITERION_GAIN_RATIO, CRITERION_GINI_INDEX, CRITERION_INFO_GAIN, PARAMETER_CRITERION, PARAMETER_MINIMAL_GAIN, PARAMETER_MINIMAL_LEAF_SIZE, PARAMETER_MINIMAL_SIZE_FOR_SPLIT |
| Fields inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN |
| Constructor Summary | |
|---|---|
DecisionTreeLearner(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
Pruner |
getPruner()
Returns the pruner for this tree learner. |
java.util.List<Terminator> |
getTerminationCriteria(ExampleSet exampleSet)
Returns all termination criteria. |
protected TreeBuilder |
getTreeBuilder(ExampleSet exampleSet)
|
boolean |
supportsCapability(LearnerCapability capability)
Checks for Learner capabilities. |
| Methods inherited from class com.rapidminer.operator.learner.tree.AbstractTreeLearner |
|---|
createCriterion, getSplitPreprocessing, learn |
| Methods inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
apply, getEstimatedPerformance, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, onlyWarnForNonSufficientCapabilities, shouldCalculateWeights, shouldDeliverOptimizationPerformance, shouldEstimatePerformance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_MAXIMAL_DEPTH
public static final java.lang.String PARAMETER_CONFIDENCE
public static final java.lang.String PARAMETER_NO_PRUNING
public static final java.lang.String PARAMETER_NO_PRE_PRUNING
public static final java.lang.String PARAMETER_NUMBER_OF_PREPRUNING_ALTERNATIVES
| Constructor Detail |
|---|
public DecisionTreeLearner(OperatorDescription description)
| Method Detail |
|---|
public Pruner getPruner()
throws OperatorException
AbstractTreeLearner
getPruner in class AbstractTreeLearnerOperatorException
public java.util.List<Terminator> getTerminationCriteria(ExampleSet exampleSet)
throws OperatorException
AbstractTreeLearner
getTerminationCriteria in class AbstractTreeLearnerOperatorExceptionpublic boolean supportsCapability(LearnerCapability capability)
Learner
protected TreeBuilder getTreeBuilder(ExampleSet exampleSet)
throws OperatorException
getTreeBuilder in class AbstractTreeLearnerOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class AbstractTreeLearner
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||