|
||||||||||
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.GeneratingGeneticAlgorithm
public class GeneratingGeneticAlgorithm
In contrast to the class
GeneticAlgorithm
, the
GeneratingGeneticAlgorithm
generates new attributes and thus can
change the length of an individual. Therfore specialized mutation and
crossover operators are being applied. Generators are chosen at random from a
list of generators specified by boolean parameters.
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
Field Summary | |
---|---|
static java.lang.String |
PARAMETER_LIMIT_MAX_TOTAL_NUMBER_OF_ATTRIBUTES
|
static java.lang.String |
PARAMETER_MAX_NUMBER_OF_NEW_ATTRIBUTES
The parameter name for "Max number of attributes to generate for an individual in one generation. |
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_GENERATE
The parameter name for "Probability for an individual to be selected for generation. |
static java.lang.String |
PARAMETER_P_MUTATION
The parameter name for "Probability for an attribute to be changed (-1: 1 / numberOfAtts). |
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 | |
---|---|
GeneratingGeneticAlgorithm(OperatorDescription description)
|
Method Summary | |
---|---|
protected ExampleSetBasedPopulationOperator |
getGeneratingPopulationOperator(ExampleSet eSet)
Returns a specialized mutation, i.e. a AttributeGenerator |
protected ExampleSetBasedPopulationOperator |
getMutationPopulationOperator(ExampleSet eSet)
Returns an operator that performs the mutation. |
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 |
---|
createInitialPopulation, 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_MAX_NUMBER_OF_NEW_ATTRIBUTES
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
public static final java.lang.String PARAMETER_P_GENERATE
public static final java.lang.String PARAMETER_P_MUTATION
public static final java.lang.String PARAMETER_USE_HEURISTIC_MUTATION_PROBABILITY
Constructor Detail |
---|
public GeneratingGeneticAlgorithm(OperatorDescription description)
Method Detail |
---|
protected ExampleSetBasedPopulationOperator getMutationPopulationOperator(ExampleSet eSet) throws UndefinedParameterError
getMutationPopulationOperator
in class AbstractGeneratingGeneticAlgorithm
UndefinedParameterError
protected ExampleSetBasedPopulationOperator getGeneratingPopulationOperator(ExampleSet eSet) throws UndefinedParameterError
AttributeGenerator
getGeneratingPopulationOperator
in class AbstractGeneratingGeneticAlgorithm
UndefinedParameterError
public java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes
in interface ParameterHandler
getParameterTypes
in class AbstractGeneratingGeneticAlgorithm
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |