com.rapidminer.operator.learner.meta
Class Vote

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.OperatorChain
          extended by com.rapidminer.operator.learner.meta.AbstractMetaLearner
              extended by com.rapidminer.operator.learner.meta.AbstractStacking
                  extended by com.rapidminer.operator.learner.meta.Vote
All Implemented Interfaces:
ConfigurationListener, PreviewListener, Learner, ParameterHandler, LoggingHandler

public class Vote
extends AbstractStacking

This class uses n+1 inner learners and generates n different models by using the last n learners. The predictions of these n models are taken to create n new features for the example set, which is finally used to serve as an input of the first inner learner.

Author:
Ingo Mierswa, Helge Homburg

Constructor Summary
Vote(OperatorDescription description)
           
 
Method Summary
 int getFirstBaseModelLearnerIndex()
          Returns the first inner operator which should be learned for base model learning.
 int getLastBaseModelLearnerIndex()
          Returns the last inner operator which should be learned for base model learning.
 java.lang.String getModelName()
          Returns the model name.
 Operator getStackingLearner()
          Returns the learner which should be used for stacking.
 boolean keepOldAttributes()
          Indicates if the old attributes should be kept for learning the stacking model.
 
Methods inherited from class com.rapidminer.operator.learner.meta.AbstractStacking
learn, supportsCapability
 
Methods inherited from class com.rapidminer.operator.learner.meta.AbstractMetaLearner
apply, applyInnerLearner, getEstimatedPerformance, getInnerOperatorCondition, getInputClasses, getInputDescription, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getOutputClasses, getWeights, shouldCalculateWeights, shouldEstimatePerformance
 
Methods inherited from class com.rapidminer.operator.OperatorChain
addAddListener, addOperator, addOperator, checkDeprecations, checkIO, checkNumberOfInnerOperators, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createProcessTree, getAllInnerOperators, getIndexOfOperator, getInnerOperatorForName, getInnerOperatorsXML, getNumberOfAllOperators, getNumberOfOperators, getOperator, getOperatorFromAll, getOperators, performAdditionalChecks, processFinished, processStarts, registerOperator, removeAddListener, removeOperator, shouldAddNonConsumedInput, shouldReturnInnerOutput, unregisterOperator
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkForStop, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInput, getInput, getInput, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParameterTypes, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, register, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, 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
 

Constructor Detail

Vote

public Vote(OperatorDescription description)
Method Detail

getModelName

public java.lang.String getModelName()
Description copied from class: AbstractStacking
Returns the model name.

Specified by:
getModelName in class AbstractStacking

getFirstBaseModelLearnerIndex

public int getFirstBaseModelLearnerIndex()
Description copied from class: AbstractStacking
Returns the first inner operator which should be learned for base model learning.

Specified by:
getFirstBaseModelLearnerIndex in class AbstractStacking

getLastBaseModelLearnerIndex

public int getLastBaseModelLearnerIndex()
Description copied from class: AbstractStacking
Returns the last inner operator which should be learned for base model learning.

Specified by:
getLastBaseModelLearnerIndex in class AbstractStacking

getStackingLearner

public Operator getStackingLearner()
                            throws OperatorException
Description copied from class: AbstractStacking
Returns the learner which should be used for stacking.

Specified by:
getStackingLearner in class AbstractStacking
Throws:
OperatorException

keepOldAttributes

public boolean keepOldAttributes()
Description copied from class: AbstractStacking
Indicates if the old attributes should be kept for learning the stacking model.

Specified by:
keepOldAttributes in class AbstractStacking


Copyright © 2001-2009 by Rapid-I