com.rapidminer.operator.features.construction
Class YAGGA

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.OperatorChain
          extended by com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator
              extended by com.rapidminer.operator.features.construction.AbstractGeneratingGeneticAlgorithm
                  extended by com.rapidminer.operator.features.construction.YAGGA
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler
Direct Known Subclasses:
YAGGA2

public class YAGGA
extends AbstractGeneratingGeneticAlgorithm

YAGGA is an acronym for Yet Another Generating Genetic Algorithm. Its approach to generating new attributes differs from the original one. The (generating) mutation can do one of the following things with different probabilities:

Thus it is guaranteed that the length of the feature vector can both grow and shrink. On average it will keep its original length, unless longer or shorter individuals prove to have a better fitness. Since this operator does not contain algorithms to extract features from value series, it is restricted to example sets with only single attributes. For (automatic) feature extraction from values series the value series plugin for RapidMiner written by Ingo Mierswa should be used. It is available at http://rapid-i.com.

Author:
Ingo Mierswa, Simon Fischer

Field Summary
static java.lang.String PARAMETER_MAX_TOTAL_NUMBER_OF_ATTRIBUTES
          The parameter name for "Max total number of attributes in all generations (-1: no maximum).
static java.lang.String PARAMETER_P_MUTATION
          The parameter name for "Probability for mutation (-1: 1/n).
 
Fields inherited from class com.rapidminer.operator.features.construction.AbstractGeneratingGeneticAlgorithm
BOLTZMANN_SELECTION, CUT_SELECTION, NON_DOMINATED_SORTING_SELECTION, PARAMETER_CROSSOVER_TYPE, PARAMETER_DYNAMIC_SELECTION_PRESSURE, PARAMETER_GENERATIONS_WITHOUT_IMPROVAL, PARAMETER_KEEP_BEST_INDIVIDUAL, PARAMETER_MAXIMUM_NUMBER_OF_GENERATIONS, PARAMETER_P_CROSSOVER, PARAMETER_P_INITIALIZE, PARAMETER_POPULATION_SIZE, PARAMETER_RECIPROCAL_VALUE, PARAMETER_START_TEMPERATURE, PARAMETER_TOURNAMENT_SIZE, PARAMETER_USE_DIFF, PARAMETER_USE_DIV, PARAMETER_USE_MULT, PARAMETER_USE_PLUS, RANK_SELECTION, ROULETTE_WHEEL, SELECTION_SCHEMES, STOCHASTIC_UNIVERSAL, TOURNAMENT_SELECTION, UNIFORM_SELECTION
 
Fields inherited from class com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator
PARAMETER_LOCAL_RANDOM_SEED, PARAMETER_MAXIMAL_FITNESS, PARAMETER_SHOW_STOP_DIALOG
 
Constructor Summary
YAGGA(OperatorDescription description)
           
 
Method Summary
 ExampleSetBasedPopulation createInitialPopulation(ExampleSet es)
          Creates a initial population.
protected  ExampleSetBasedPopulationOperator getGeneratingPopulationOperator(ExampleSet exampleSet)
          Since the mutation of YAGGA also creates new attributes this method returns null.
protected  ExampleSetBasedPopulationOperator getMutationPopulationOperator(ExampleSet eSet)
          Returns the generating mutation PopulationOperator.
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 
Methods inherited from class com.rapidminer.operator.features.construction.AbstractGeneratingGeneticAlgorithm
getCrossoverPopulationOperator, getGenerators, getPostEvaluationPopulationOperators, getPostProcessingPopulationOperators, getPreEvaluationPopulationOperators, getPreProcessingPopulationOperators, solutionGoodEnough
 
Methods inherited from class com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator
apply, evaluate, evaluate, getCheckForMaximum, getInnerOperatorCondition, getInputClasses, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getOutputClasses, getPopulation, getRandom, setCheckForMaximum
 
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, getInputDescription, 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, 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
 

Field Detail

PARAMETER_P_MUTATION

public static final java.lang.String PARAMETER_P_MUTATION
The parameter name for "Probability for mutation (-1: 1/n)."

See Also:
Constant Field Values

PARAMETER_MAX_TOTAL_NUMBER_OF_ATTRIBUTES

public static final java.lang.String PARAMETER_MAX_TOTAL_NUMBER_OF_ATTRIBUTES
The parameter name for "Max total number of attributes in all generations (-1: no maximum)."

See Also:
Constant Field Values
Constructor Detail

YAGGA

public YAGGA(OperatorDescription description)
Method Detail

getGeneratingPopulationOperator

protected ExampleSetBasedPopulationOperator getGeneratingPopulationOperator(ExampleSet exampleSet)
Since the mutation of YAGGA also creates new attributes this method returns null.

Specified by:
getGeneratingPopulationOperator in class AbstractGeneratingGeneticAlgorithm

getMutationPopulationOperator

protected ExampleSetBasedPopulationOperator getMutationPopulationOperator(ExampleSet eSet)
                                                                   throws OperatorException
Returns the generating mutation PopulationOperator.

Specified by:
getMutationPopulationOperator in class AbstractGeneratingGeneticAlgorithm
Throws:
OperatorException

createInitialPopulation

public ExampleSetBasedPopulation createInitialPopulation(ExampleSet es)
                                                  throws UndefinedParameterError
Creates a initial population.

Overrides:
createInitialPopulation in class AbstractGeneratingGeneticAlgorithm
Throws:
UndefinedParameterError

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 AbstractGeneratingGeneticAlgorithm


Copyright © 2001-2009 by Rapid-I