com.rapidminer.operator.features.construction
Class FourierGGA

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
                      extended by com.rapidminer.operator.features.construction.YAGGA2
                          extended by com.rapidminer.operator.features.construction.FourierGGA
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class FourierGGA
extends YAGGA2

FourierGGA has all functions of YAGGA2. Additionally for each added attribute a fourier transformation is performed and the sinus function corresponding to the highest peaks are additionally added. 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

Field Summary
static java.lang.String PARAMETER_ADAPTION_TYPE
          The parameter name for "Use this adaption type for additional peaks.
static java.lang.String PARAMETER_ATTRIBUTES_PER_PEAK
          The parameter name for "Use this number of additional peaks for each found peak.
static java.lang.String PARAMETER_EPSILON
          The parameter name for "Use this range for additional peaks for each found peak.
static java.lang.String PARAMETER_NUMBER_CONSTRUCTED
          The parameter name for "The maximum number of attributes constructed in each generation.
static java.lang.String PARAMETER_NUMBER_ORIGINAL
          The parameter name for "The maximum of original attributes added in each generation.
static java.lang.String PARAMETER_SEARCH_FOURIER_PEAKS
          The parameter name for "Use this number of highest frequency peaks for sinus generation.
static java.lang.String PARAMETER_START_SINUS_BOOST
          The parameter name for "Uses a fourier generation in this first generations"
 
Fields inherited from class com.rapidminer.operator.features.construction.YAGGA2
PARAMETER_ASSOCIATIVE_ATTRIBUTE_MERGING, PARAMETER_CONSTANT_GENERATION_PROB, PARAMETER_EQUIVALENCE_EPSILON, PARAMETER_EQUIVALENCE_SAMPLES, PARAMETER_EQUIVALENCE_USE_STATISTICS, PARAMETER_REMOVE_EQUIVALENT, PARAMETER_REMOVE_USELESS, PARAMETER_RESTRICTIVE_SELECTION, PARAMETER_UNUSED_FUNCTIONS, PARAMETER_USE_ABSOLUTE_VALUES, PARAMETER_USE_ATAN, PARAMETER_USE_COS, PARAMETER_USE_EXP, PARAMETER_USE_FLOOR_CEIL_FUNCTIONS, PARAMETER_USE_LOG, PARAMETER_USE_MAX, PARAMETER_USE_MIN, PARAMETER_USE_POWER_FUNCTIONS, PARAMETER_USE_SGN, PARAMETER_USE_SIN, PARAMETER_USE_SQUARE_ROOTS, PARAMETER_USE_TAN
 
Fields inherited from class com.rapidminer.operator.features.construction.YAGGA
PARAMETER_MAX_TOTAL_NUMBER_OF_ATTRIBUTES, PARAMETER_P_MUTATION
 
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
FourierGGA(OperatorDescription description)
           
 
Method Summary
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.
protected  java.util.List<ExampleSetBasedPopulationOperator> getPreProcessingPopulationOperators(ExampleSet eSet)
           
 
Methods inherited from class com.rapidminer.operator.features.construction.YAGGA2
apply, getGenerators
 
Methods inherited from class com.rapidminer.operator.features.construction.YAGGA
createInitialPopulation, getGeneratingPopulationOperator
 
Methods inherited from class com.rapidminer.operator.features.construction.AbstractGeneratingGeneticAlgorithm
getCrossoverPopulationOperator, getPostEvaluationPopulationOperators, getPostProcessingPopulationOperators, getPreEvaluationPopulationOperators, solutionGoodEnough
 
Methods inherited from class com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator
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_NUMBER_ORIGINAL

public static final java.lang.String PARAMETER_NUMBER_ORIGINAL
The parameter name for "The maximum of original attributes added in each generation."

See Also:
Constant Field Values

PARAMETER_NUMBER_CONSTRUCTED

public static final java.lang.String PARAMETER_NUMBER_CONSTRUCTED
The parameter name for "The maximum number of attributes constructed in each generation."

See Also:
Constant Field Values

PARAMETER_START_SINUS_BOOST

public static final java.lang.String PARAMETER_START_SINUS_BOOST
The parameter name for "Uses a fourier generation in this first generations"

See Also:
Constant Field Values

PARAMETER_SEARCH_FOURIER_PEAKS

public static final java.lang.String PARAMETER_SEARCH_FOURIER_PEAKS
The parameter name for "Use this number of highest frequency peaks for sinus generation."

See Also:
Constant Field Values

PARAMETER_ATTRIBUTES_PER_PEAK

public static final java.lang.String PARAMETER_ATTRIBUTES_PER_PEAK
The parameter name for "Use this number of additional peaks for each found peak."

See Also:
Constant Field Values

PARAMETER_EPSILON

public static final java.lang.String PARAMETER_EPSILON
The parameter name for "Use this range for additional peaks for each found peak."

See Also:
Constant Field Values

PARAMETER_ADAPTION_TYPE

public static final java.lang.String PARAMETER_ADAPTION_TYPE
The parameter name for "Use this adaption type for additional peaks."

See Also:
Constant Field Values
Constructor Detail

FourierGGA

public FourierGGA(OperatorDescription description)
Method Detail

getMutationPopulationOperator

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

Overrides:
getMutationPopulationOperator in class YAGGA2
Throws:
OperatorException

getPreProcessingPopulationOperators

protected java.util.List<ExampleSetBasedPopulationOperator> getPreProcessingPopulationOperators(ExampleSet eSet)
                                                                                         throws OperatorException
Overrides:
getPreProcessingPopulationOperators in class YAGGA2
Throws:
OperatorException

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 YAGGA2


Copyright © 2001-2009 by Rapid-I