|
||||||||||
| 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
public class YAGGA
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:
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_LIMIT_MAX_TOTAL_NUMBER_OF_ATTRIBUTES
|
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). |
static java.lang.String |
PARAMETER_USE_HEURISTIC_MUTATION_PROBABILITY
|
| Fields inherited from class com.rapidminer.operator.features.construction.ExampleSetBasedFeatureOperator |
|---|
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 |
|---|
doWork, 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_P_MUTATION
public static final java.lang.String PARAMETER_USE_HEURISTIC_MUTATION_PROBABILITY
public static final java.lang.String PARAMETER_MAX_TOTAL_NUMBER_OF_ATTRIBUTES
public static final java.lang.String PARAMETER_LIMIT_MAX_TOTAL_NUMBER_OF_ATTRIBUTES
| Constructor Detail |
|---|
public YAGGA(OperatorDescription description)
| Method Detail |
|---|
protected ExampleSetBasedPopulationOperator getGeneratingPopulationOperator(ExampleSet exampleSet)
getGeneratingPopulationOperator in class AbstractGeneratingGeneticAlgorithm
protected ExampleSetBasedPopulationOperator getMutationPopulationOperator(ExampleSet eSet)
throws OperatorException
PopulationOperator.
getMutationPopulationOperator in class AbstractGeneratingGeneticAlgorithmOperatorException
public ExampleSetBasedPopulation createInitialPopulation(ExampleSet es)
throws UndefinedParameterError
createInitialPopulation in class AbstractGeneratingGeneticAlgorithmUndefinedParameterErrorpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class AbstractGeneratingGeneticAlgorithm
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||