com.rapidminer.operator.features.construction
Class AttributeGenerator
java.lang.Object
com.rapidminer.operator.features.construction.ExampleSetBasedIndividualOperator
com.rapidminer.operator.features.construction.AttributeGenerator
- All Implemented Interfaces:
- ExampleSetBasedPopulationOperator
public class AttributeGenerator
- extends ExampleSetBasedIndividualOperator
This PopulationOperator generates new attributes in an individual's example
table. Given a generation probability
pGenerate
and the maximal number of new attributes it generates on average
pGenerate * numberOfNewAttributes new attributes using generators from the list
generatorList
This operator can never handle value series but only single attributes.
- Author:
- Ingo Mierswa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeGenerator
public AttributeGenerator(double pGenerate,
int numberOfNewAttributes,
int totalMaxNumberOfAttributes,
java.util.List<FeatureGenerator> generatorList,
RandomGenerator random)
- Creates a new AttributeGenerator with given parameters.
operate
public java.util.List<ExampleSetBasedIndividual> operate(ExampleSetBasedIndividual individual)
throws java.lang.Exception
- Determines the applicable generators and generates up to
numberOfNewAttributes new attributes.
- Specified by:
operate
in class ExampleSetBasedIndividualOperator
- Throws:
java.lang.Exception
Copyright © 2001-2009 by Rapid-I