com.rapidminer.operator.features.construction
Class GeneratingMutation

java.lang.Object
  extended by com.rapidminer.operator.features.construction.ExampleSetBasedIndividualOperator
      extended by com.rapidminer.operator.features.construction.GeneratingMutation
All Implemented Interfaces:
ExampleSetBasedPopulationOperator

public class GeneratingMutation
extends ExampleSetBasedIndividualOperator

The mutation operator for YAGGA. This operator adds single attributes from the original set, creates new ones and deselect single attributes.

Author:
Ingo Mierswa, Simon Fischer Exp $
See Also:
YAGGA

Constructor Summary
GeneratingMutation(java.util.List<Attribute> originalAttributes, double prob, int maxNumberOfAttributes, java.util.List<FeatureGenerator> generators, RandomGenerator random)
           
 
Method Summary
 java.util.List<ExampleSetBasedIndividual> operate(ExampleSetBasedIndividual individual)
          Performs one of the following three mutations: add a newly generated attribute add an original attribute remove an attribute
 void setUnusedFunctions(java.lang.String[] functions)
           
 
Methods inherited from class com.rapidminer.operator.features.construction.ExampleSetBasedIndividualOperator
operate, performOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratingMutation

public GeneratingMutation(java.util.List<Attribute> originalAttributes,
                          double prob,
                          int maxNumberOfAttributes,
                          java.util.List<FeatureGenerator> generators,
                          RandomGenerator random)
Method Detail

setUnusedFunctions

public void setUnusedFunctions(java.lang.String[] functions)

operate

public java.util.List<ExampleSetBasedIndividual> operate(ExampleSetBasedIndividual individual)
                                                  throws java.lang.Exception
Performs one of the following three mutations:

Specified by:
operate in class ExampleSetBasedIndividualOperator
Throws:
java.lang.Exception


Copyright © 2001-2009 by Rapid-I