com.rapidminer.operator.features.selection
Class SwitchingForwardSelection

java.lang.Object
  extended by com.rapidminer.operator.features.IndividualOperator
      extended by com.rapidminer.operator.features.selection.SwitchingForwardSelection
All Implemented Interfaces:
PopulationOperator

public class SwitchingForwardSelection
extends IndividualOperator

This PopulationOperator realises forward selection, i.e. creates a list of clones of each individual and switches on one attribute in each of the clones. In contrast to the normal forward selection this one actually selects attributes instead of completely adding them. Although this might use more memory for simple selection tasks this might be necessary in case of FeatureOperators which generate new attributes.

Author:
Ingo Mierswa ingomierswa Exp $

Constructor Summary
SwitchingForwardSelection()
           
 
Method Summary
 java.util.List<Individual> operate(Individual individual)
          Subclasses must implement this method providing a list of new individuals.
 
Methods inherited from class com.rapidminer.operator.features.IndividualOperator
operate, performOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchingForwardSelection

public SwitchingForwardSelection()
Method Detail

operate

public java.util.List<Individual> operate(Individual individual)
Description copied from class: IndividualOperator
Subclasses must implement this method providing a list of new individuals. individual will be removed from the population so it might be useful to return a list of size 1 containing only the modified individual. If the original individual should also be part of the new population it must also be added to the result list.

Specified by:
operate in class IndividualOperator


Copyright © 2001-2009 by Rapid-I