|
||||||||||
| 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.FeatureOperator
com.rapidminer.operator.features.selection.AbstractGeneticAlgorithm
com.rapidminer.operator.features.weighting.EvolutionaryWeighting
public class EvolutionaryWeighting
This operator performs the weighting of features with an evolutionary strategies approach. The variance of the gaussian additive mutation can be adapted by a 1/5-rule.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_1_5_RULE
The parameter name for "If set to true, the 1/5 rule for variance adaption is used. |
static java.lang.String |
PARAMETER_BOUNDED_MUTATION
The parameter name for "If set to true, the weights are bounded between 0 and 1. |
static java.lang.String |
PARAMETER_CROSSOVER_TYPE
The parameter name for "Type of the crossover. |
static java.lang.String |
PARAMETER_DEFAULT_NOMINAL_MUTATION_RATE
|
static java.lang.String |
PARAMETER_INITIALIZE_WITH_INPUT_WEIGHTS
|
static java.lang.String |
PARAMETER_MUTATION_VARIANCE
The parameter name for "The (initial) variance for each mutation. |
static java.lang.String |
PARAMETER_NOMINAL_MUTATION_RATE
|
static java.lang.String |
PARAMETER_P_CROSSOVER
The parameter name for "Probability for an individual to be selected for crossover. |
| Fields inherited from class com.rapidminer.operator.features.FeatureOperator |
|---|
PARAMETER_CONSTRAINT_DRAW_RANGE, PARAMETER_DRAW_DOMINATED_POINTS, PARAMETER_MAXIMAL_FITNESS, PARAMETER_NORMALIZE_WEIGHTS, PARAMETER_PLOT_GENERATIONS, PARAMETER_POPULATION_CRITERIA_DATA_FILE, PARAMETER_SHOW_POPULATION_PLOTTER, PARAMETER_SHOW_STOP_DIALOG, PARAMETER_USER_RESULT_INDIVIDUAL_SELECTION |
| Constructor Summary | |
|---|---|
EvolutionaryWeighting(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
Population |
createInitialPopulation(ExampleSet exampleSet)
Create an initial population. |
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 |
PopulationOperator |
getCrossoverPopulationOperator(ExampleSet eSet)
Returns an operator that performs crossover. |
PopulationOperator |
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. |
protected java.util.List<PopulationOperator> |
getPostProcessingPopulationOperators(ExampleSet eSet)
Returns an empty list. |
| Methods inherited from class com.rapidminer.operator.features.selection.AbstractGeneticAlgorithm |
|---|
getPostEvaluationPopulationOperators, getPreEvaluationPopulationOperators, getPreProcessingPopulationOperators, solutionGoodEnough |
| Methods inherited from class com.rapidminer.operator.features.FeatureOperator |
|---|
createCleanClone, executeEvaluationProcess, getCheckForMaximum, getExampleSetInput, getPopulation, getPopulationEvaluator, getRandom, modifyInnerOutputExampleSet, modifyOutputExampleSet, runEvaluationProcess, 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_MUTATION_VARIANCE
public static final java.lang.String PARAMETER_1_5_RULE
public static final java.lang.String PARAMETER_BOUNDED_MUTATION
public static final java.lang.String PARAMETER_P_CROSSOVER
public static final java.lang.String PARAMETER_CROSSOVER_TYPE
public static final java.lang.String PARAMETER_INITIALIZE_WITH_INPUT_WEIGHTS
public static final java.lang.String PARAMETER_NOMINAL_MUTATION_RATE
public static final java.lang.String PARAMETER_DEFAULT_NOMINAL_MUTATION_RATE
| Constructor Detail |
|---|
public EvolutionaryWeighting(OperatorDescription description)
| Method Detail |
|---|
public PopulationOperator getCrossoverPopulationOperator(ExampleSet eSet)
throws UndefinedParameterError
AbstractGeneticAlgorithm
getCrossoverPopulationOperator in class AbstractGeneticAlgorithmUndefinedParameterError
public PopulationOperator getMutationPopulationOperator(ExampleSet eSet)
throws UndefinedParameterError
AbstractGeneticAlgorithm
getMutationPopulationOperator in class AbstractGeneticAlgorithmUndefinedParameterError
protected java.util.List<PopulationOperator> getPostProcessingPopulationOperators(ExampleSet eSet)
throws UndefinedParameterError
AbstractGeneticAlgorithm
getPostProcessingPopulationOperators in class AbstractGeneticAlgorithmUndefinedParameterError
public void doWork()
throws OperatorException
FeatureOperator
doWork in class FeatureOperatorOperatorException
public Population createInitialPopulation(ExampleSet exampleSet)
throws OperatorException
FeatureOperator
createInitialPopulation in class FeatureOperatorOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class AbstractGeneticAlgorithm
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||