com.rapidminer.operator.features
Class Individual

java.lang.Object
  extended by com.rapidminer.operator.features.Individual

public class Individual
extends java.lang.Object

Individuals contain all necessary informations for feature selection or weighting of example sets for population based search heuristics, including the performance. Each individiual can also handle a crowding distance for multi-objecitve optimization approaches.

Author:
Ingo Mierswa

Constructor Summary
Individual(double[] weights)
          Creates a new individual by cloning the given values.
 
Method Summary
 double getCrowdingDistance()
           
 int getNumberOfUsedAttributes()
           
 PerformanceVector getPerformance()
           
 double[] getWeights()
           
 double[] getWeightsClone()
           
 void setCrowdingDistance(double crowdingDistance)
           
 void setPerformance(PerformanceVector performanceVector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Individual

public Individual(double[] weights)
Creates a new individual by cloning the given values.

Method Detail

getWeights

public double[] getWeights()

getWeightsClone

public double[] getWeightsClone()

getNumberOfUsedAttributes

public int getNumberOfUsedAttributes()

getPerformance

public PerformanceVector getPerformance()

setPerformance

public void setPerformance(PerformanceVector performanceVector)

getCrowdingDistance

public double getCrowdingDistance()

setCrowdingDistance

public void setCrowdingDistance(double crowdingDistance)


Copyright © 2001-2009 by Rapid-I