|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.OperatorChain
com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator
com.rapidminer.operator.features.construction.AbstractGeneratingGeneticAlgorithm
com.rapidminer.operator.features.construction.YAGGA
com.rapidminer.operator.features.construction.YAGGA2
public class YAGGA2
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.
In addition to the usual YAGGA operator, this operator allows more feature generators and provides several techniques for intron prevention. This leads to smaller example sets containing less redundant features.
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 should be used.
For more information please refer to
Mierswa, Ingo (2007): RobustGP: Intron-Free Multi-Objective Feature Construction (to appear)
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_ASSOCIATIVE_ATTRIBUTE_MERGING
The parameter name for "Post processing after crossover (only possible for runs with only one generator). |
static java.lang.String |
PARAMETER_CONSTANT_GENERATION_PROB
The parameter name for "Generate random constant attributes with this probability. |
static java.lang.String |
PARAMETER_EQUIVALENCE_EPSILON
The parameter name for "Consider two attributes equivalent if their difference is not bigger than epsilon. |
static java.lang.String |
PARAMETER_EQUIVALENCE_SAMPLES
The parameter name for "Check this number of samples to prove equivalency. |
static java.lang.String |
PARAMETER_EQUIVALENCE_USE_STATISTICS
The parameter name for "Recalculates attribute statistics before equivalence check. |
static java.lang.String |
PARAMETER_REMOVE_EQUIVALENT
The parameter name for "Remove equivalent attributes. |
static java.lang.String |
PARAMETER_REMOVE_USELESS
The parameter name for "Remove useless attributes. |
static java.lang.String |
PARAMETER_RESTRICTIVE_SELECTION
The parameter name for "Use restrictive generator selection (faster). |
static java.lang.String |
PARAMETER_UNUSED_FUNCTIONS
The parameter name for "Space separated list of functions which are not allowed in arguments for attribute construction. |
static java.lang.String |
PARAMETER_USE_ABSOLUTE_VALUES
The parameter name for "Generate absolute values. |
static java.lang.String |
PARAMETER_USE_ATAN
The parameter name for "Generate arc tangens. |
static java.lang.String |
PARAMETER_USE_COS
The parameter name for "Generate cosinus. |
static java.lang.String |
PARAMETER_USE_EXP
The parameter name for "Generate exponential functions. |
static java.lang.String |
PARAMETER_USE_FLOOR_CEIL_FUNCTIONS
The parameter name for "Generate floor, ceil, and rounded values. |
static java.lang.String |
PARAMETER_USE_LOG
The parameter name for "Generate logarithmic functions. |
static java.lang.String |
PARAMETER_USE_MAX
The parameter name for "Generate maximum values. |
static java.lang.String |
PARAMETER_USE_MIN
The parameter name for "Generate minimum values. |
static java.lang.String |
PARAMETER_USE_POWER_FUNCTIONS
The parameter name for "Generate the power of one attribute and another. |
static java.lang.String |
PARAMETER_USE_SGN
The parameter name for "Generate signum values. |
static java.lang.String |
PARAMETER_USE_SIN
The parameter name for "Generate sinus. |
static java.lang.String |
PARAMETER_USE_SQUARE_ROOTS
The parameter name for "Generate square root values. |
static java.lang.String |
PARAMETER_USE_TAN
The parameter name for "Generate tangens. |
| Fields inherited from class com.rapidminer.operator.features.construction.YAGGA |
|---|
PARAMETER_LIMIT_MAX_TOTAL_NUMBER_OF_ATTRIBUTES, PARAMETER_MAX_TOTAL_NUMBER_OF_ATTRIBUTES, PARAMETER_P_MUTATION, PARAMETER_USE_HEURISTIC_MUTATION_PROBABILITY |
| Fields inherited from class com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator |
|---|
PARAMETER_MAXIMAL_FITNESS, PARAMETER_SHOW_STOP_DIALOG |
| Constructor Summary | |
|---|---|
YAGGA2(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
void |
doWork()
Applies the feature operator: collects the pre- and postevaluation operators create an initial population evaluate the initial population loop as long as solution is not good enough apply all pre evaluation operators evaluate the population update the population's best individual apply all post evaluation operators return all generation's best individual |
java.util.List<FeatureGenerator> |
getGenerators()
Returns a list with all generator which should be used. |
protected ExampleSetBasedPopulationOperator |
getMutationPopulationOperator(ExampleSet exampleSet)
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.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, getPopulation, getRandom, setCheckForMaximum |
| Methods inherited from class com.rapidminer.tools.AbstractObservable |
|---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_USE_SQUARE_ROOTS
public static final java.lang.String PARAMETER_USE_POWER_FUNCTIONS
public static final java.lang.String PARAMETER_USE_SIN
public static final java.lang.String PARAMETER_USE_COS
public static final java.lang.String PARAMETER_USE_TAN
public static final java.lang.String PARAMETER_USE_ATAN
public static final java.lang.String PARAMETER_USE_EXP
public static final java.lang.String PARAMETER_USE_LOG
public static final java.lang.String PARAMETER_USE_ABSOLUTE_VALUES
public static final java.lang.String PARAMETER_USE_MIN
public static final java.lang.String PARAMETER_USE_MAX
public static final java.lang.String PARAMETER_USE_SGN
public static final java.lang.String PARAMETER_USE_FLOOR_CEIL_FUNCTIONS
public static final java.lang.String PARAMETER_RESTRICTIVE_SELECTION
public static final java.lang.String PARAMETER_REMOVE_USELESS
public static final java.lang.String PARAMETER_REMOVE_EQUIVALENT
public static final java.lang.String PARAMETER_EQUIVALENCE_SAMPLES
public static final java.lang.String PARAMETER_EQUIVALENCE_EPSILON
public static final java.lang.String PARAMETER_EQUIVALENCE_USE_STATISTICS
public static final java.lang.String PARAMETER_UNUSED_FUNCTIONS
public static final java.lang.String PARAMETER_CONSTANT_GENERATION_PROB
public static final java.lang.String PARAMETER_ASSOCIATIVE_ATTRIBUTE_MERGING
| Constructor Detail |
|---|
public YAGGA2(OperatorDescription description)
| Method Detail |
|---|
public void doWork()
throws OperatorException
ExampleSetBasedFeatureOperator
doWork in class ExampleSetBasedFeatureOperatorOperatorException
protected ExampleSetBasedPopulationOperator getMutationPopulationOperator(ExampleSet exampleSet)
throws OperatorException
YAGGAPopulationOperator.
getMutationPopulationOperator in class YAGGAOperatorExceptionpublic java.util.List<FeatureGenerator> getGenerators()
AbstractGeneratingGeneticAlgorithm
getGenerators in class AbstractGeneratingGeneticAlgorithm
protected java.util.List<ExampleSetBasedPopulationOperator> getPreProcessingPopulationOperators(ExampleSet eSet)
throws OperatorException
getPreProcessingPopulationOperators in class AbstractGeneratingGeneticAlgorithmOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class YAGGA
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||