com.rapidminer.operator.features.construction
Class UnbalancedCrossover
java.lang.Object
com.rapidminer.operator.features.construction.ExampleSetBasedSelectionCrossover
com.rapidminer.operator.features.construction.UnbalancedCrossover
- All Implemented Interfaces:
- ExampleSetBasedPopulationOperator
public class UnbalancedCrossover
- extends ExampleSetBasedSelectionCrossover
This PopulationOperator applies a crossover on two example sets.
Crossover type can be ONE_POINT, UNIFORM, or SHUFFLE. In difference to
SelectionCrossover the attribute vectors can have different lengths.
This crossover type should only be used for SINGLE_VALUEs, i.e. attributes
without a block number (blocknumber can and should be assigned to value
series attributes)!
- Author:
- Ingo Mierswa
Exp $
|
Constructor Summary |
UnbalancedCrossover(int type,
double prob,
java.util.Random random)
Creates a new generating crossover with the given type which will be
applied with the given probability. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnbalancedCrossover
public UnbalancedCrossover(int type,
double prob,
java.util.Random random)
- Creates a new generating crossover with the given type which will be
applied with the given probability.
crossover
public void crossover(AttributeWeightedExampleSet es1,
AttributeWeightedExampleSet es2)
- Applies the crossover. Works directly on the given example sets.
- Overrides:
crossover in class ExampleSetBasedSelectionCrossover
Copyright © 2001-2009 by Rapid-I