com.rapidminer.operator.features.construction
Class GeneratingMutation
java.lang.Object
com.rapidminer.operator.features.construction.ExampleSetBasedIndividualOperator
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratingMutation
public GeneratingMutation(java.util.List<Attribute> originalAttributes,
double prob,
int maxNumberOfAttributes,
java.util.List<FeatureGenerator> generators,
RandomGenerator random)
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:
- add a newly generated attribute
- add an original attribute
- remove an attribute
- Specified by:
operate in class ExampleSetBasedIndividualOperator
- Throws:
java.lang.Exception
Copyright © 2001-2009 by Rapid-I