com.rapidminer.operator.learner.tree
Class DecisionStumpLearner
java.lang.Object
com.rapidminer.operator.Operator
com.rapidminer.operator.learner.AbstractLearner
com.rapidminer.operator.learner.tree.AbstractTreeLearner
com.rapidminer.operator.learner.tree.DecisionStumpLearner
- All Implemented Interfaces:
- ConfigurationListener, PreviewListener, Learner, ParameterHandler, LoggingHandler
public class DecisionStumpLearner
- extends AbstractTreeLearner
This operator learns decision stumps, i.e. a small decision tree with only
one single split. This decision stump works on both numerical and nominal
attributes.
- Author:
- Ingo Mierswa
| Methods inherited from class com.rapidminer.operator.learner.AbstractLearner |
apply, getEstimatedPerformance, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, onlyWarnForNonSufficientCapabilities, shouldCalculateWeights, shouldDeliverOptimizationPerformance, shouldEstimatePerformance |
| Methods inherited from class com.rapidminer.operator.Operator |
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML |
| 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 |
DecisionStumpLearner
public DecisionStumpLearner(OperatorDescription description)
getPruner
public Pruner getPruner()
throws OperatorException
- Description copied from class:
AbstractTreeLearner
- Returns the pruner for this tree learner. If this method returns null,
pruning will be disabled.
- Specified by:
getPruner in class AbstractTreeLearner
- Throws:
OperatorException
getTerminationCriteria
public java.util.List<Terminator> getTerminationCriteria(ExampleSet exampleSet)
- Description copied from class:
AbstractTreeLearner
- Returns all termination criteria.
- Specified by:
getTerminationCriteria in class AbstractTreeLearner
supportsCapability
public boolean supportsCapability(LearnerCapability capability)
- Description copied from interface:
Learner
- Checks for Learner capabilities. Should return true if the given
capability is supported.
getParameterTypes
public java.util.List<ParameterType> getParameterTypes()
- Description copied from class:
Operator
- Returns a list of ParameterTypes describing the parameters of
this operator. The default implementation returns an empty list if no
input objects can be retained and special parameters for those input
objects which can be prevented from being consumed.
- Specified by:
getParameterTypes in interface ParameterHandler- Overrides:
getParameterTypes in class AbstractTreeLearner
getTreeBuilder
protected TreeBuilder getTreeBuilder(ExampleSet exampleSet)
throws OperatorException
- Specified by:
getTreeBuilder in class AbstractTreeLearner
- Throws:
OperatorException
Copyright © 2001-2009 by Rapid-I