com.rapidminer.operator.learner.functions.kernel.evosvm
Class RegressionEvoOptimization

java.lang.Object
  extended by com.rapidminer.tools.math.optimization.ec.es.ESOptimization
      extended by com.rapidminer.operator.learner.functions.kernel.evosvm.RegressionEvoOptimization
All Implemented Interfaces:
EvoOptimization, Optimization

public class RegressionEvoOptimization
extends ESOptimization
implements EvoOptimization

Evolutionary Strategy approach for SVM optimization. Currently only classification problems are supported.

Author:
Ingo Mierswa

Field Summary
 
Fields inherited from class com.rapidminer.tools.math.optimization.ec.es.ESOptimization
BOLTZMANN_SELECTION, CUT_SELECTION, GAUSSIAN_MUTATION, INIT_TYPE_MAX, INIT_TYPE_MIN, INIT_TYPE_ONE, INIT_TYPE_RANDOM, INIT_TYPE_ZERO, MUTATION_TYPES, NO_MUTATION, NON_DOMINATED_SORTING_SELECTION, POPULATION_INIT_TYPES, RANK_SELECTION, ROULETTE_WHEEL, SELECTION_TYPES, SPARSITY_MUTATION, STOCHASTIC_UNIVERSAL, SWITCHING_MUTATION, TOURNAMENT_SELECTION, UNIFORM_SELECTION
 
Constructor Summary
RegressionEvoOptimization(ExampleSet exampleSet, Kernel kernel, double c, double epsilon, int initType, int maxIterations, int generationsWithoutImprovement, int popSize, int selectionType, double tournamentFraction, boolean keepBest, int mutationType, double crossoverProb, boolean showConvergencePlot, boolean showPopulationPlot, RandomGenerator random, LoggingHandler logging)
          Creates a new evolutionary SVM optimization.
 
Method Summary
 PerformanceVector evaluateIndividual(Individual individual)
          Subclasses must implement this method to calculate the fitness of the given individual.
 PerformanceVector getOptimizationPerformance()
          Delivers the fitness of the best individual as performance vector.
 EvoSVMModel train()
          Trains the SVM.
 
Methods inherited from class com.rapidminer.tools.math.optimization.ec.es.ESOptimization
evaluate, getBestFitnessEver, getBestFitnessInGeneration, getBestPerformanceEver, getBestValuesEver, getGeneration, getMax, getMin, getPopulation, getValueType, increaseCurrentEvaluationCounter, increaseTotalEvaluationCounter, nextIteration, optimize, setMax, setMin, setValueType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegressionEvoOptimization

public RegressionEvoOptimization(ExampleSet exampleSet,
                                 Kernel kernel,
                                 double c,
                                 double epsilon,
                                 int initType,
                                 int maxIterations,
                                 int generationsWithoutImprovement,
                                 int popSize,
                                 int selectionType,
                                 double tournamentFraction,
                                 boolean keepBest,
                                 int mutationType,
                                 double crossoverProb,
                                 boolean showConvergencePlot,
                                 boolean showPopulationPlot,
                                 RandomGenerator random,
                                 LoggingHandler logging)
Creates a new evolutionary SVM optimization.

Method Detail

evaluateIndividual

public PerformanceVector evaluateIndividual(Individual individual)
Description copied from class: ESOptimization
Subclasses must implement this method to calculate the fitness of the given individual. Please note that null might be returned for non-valid individuals. The fitness will be maximized.

Specified by:
evaluateIndividual in class ESOptimization

train

public EvoSVMModel train()
                  throws OperatorException
Trains the SVM. In this case an evolutionary strategy approach is applied to determine the best alpha values.

Specified by:
train in interface EvoOptimization
Throws:
OperatorException

getOptimizationPerformance

public PerformanceVector getOptimizationPerformance()
Delivers the fitness of the best individual as performance vector.

Specified by:
getOptimizationPerformance in interface EvoOptimization


Copyright © 2001-2009 by Rapid-I