|
||||||||||
| 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
com.rapidminer.operator.learner.tree.CHAIDLearner
public class CHAIDLearner
The CHAID decision tree learner works like the
DecisionTreeLearner
with one exception: it used a chi squared based criterion
instead of the information gain or gain ratio criteria.
| Field Summary |
|---|
| Fields inherited from class com.rapidminer.operator.learner.tree.DecisionTreeLearner |
|---|
PARAMETER_CONFIDENCE, PARAMETER_MAXIMAL_DEPTH, PARAMETER_NO_PRE_PRUNING, PARAMETER_NO_PRUNING, 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 | |
|---|---|
CHAIDLearner(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
protected Benefit |
calculateBenefit(ExampleSet trainingSet,
Attribute attribute)
This method calculates the benefit of the given attribute. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.operator.learner.tree.DecisionTreeLearner |
|---|
getPruner, getTerminationCriteria, getTreeBuilder, supportsCapability |
| 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 |
| Constructor Detail |
|---|
public CHAIDLearner(OperatorDescription description)
| Method Detail |
|---|
protected Benefit calculateBenefit(ExampleSet trainingSet,
Attribute attribute)
throws OperatorException
Criterion. Subclasses might want to override this
method in order to calculate the benefit in other ways.
OperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class DecisionTreeLearner
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||