|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.optimization.ec.pso.PSOOptimization
com.rapidminer.operator.learner.functions.kernel.evosvm.PSOSVMOptimization
public class PSOSVMOptimization
PSO approach for SVM optimization. Currently only classification problems are supported.
| Constructor Summary | |
|---|---|
PSOSVMOptimization(ExampleSet exampleSet,
Kernel kernel,
double c,
int maxIterations,
int generationsWithoutImprovement,
int popSize,
double inertiaWeight,
double localWeight,
double globalWeight,
boolean dynamicInertiaWeight,
boolean showPlot,
RandomGenerator random)
Creates a new evolutionary SVM optimization. |
|
| Method Summary | |
|---|---|
PerformanceVector |
evaluateIndividual(double[] individual)
Evaluates the individuals of the given population. |
EvoSVMModel |
getModel(double[] alphas)
Returns a model containing all support vectors, i.e. the examples with non-zerp alphas. |
void |
nextIteration()
This method is invoked after each evaluation. |
| Methods inherited from class com.rapidminer.tools.math.optimization.ec.pso.PSOOptimization |
|---|
createInitialPopulation, getBestFitnessEver, getBestFitnessInGeneration, getBestPerformanceEver, getBestValuesEver, getGeneration, optimize, reinit, setMaxValue, setMinValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PSOSVMOptimization(ExampleSet exampleSet,
Kernel kernel,
double c,
int maxIterations,
int generationsWithoutImprovement,
int popSize,
double inertiaWeight,
double localWeight,
double globalWeight,
boolean dynamicInertiaWeight,
boolean showPlot,
RandomGenerator random)
| Method Detail |
|---|
public void nextIteration()
PSOOptimization
nextIteration in class PSOOptimizationpublic PerformanceVector evaluateIndividual(double[] individual)
evaluateIndividual in class PSOOptimizationpublic EvoSVMModel getModel(double[] alphas)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||