|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.learner.AbstractLearner
com.rapidminer.operator.learner.functions.kernel.evosvm.PSOSVM
public class PSOSVM
This is a SVM implementation using a particle swarm optimization (PSO) approach to solve the dual optimization problem of a SVM. It turns out that on many datasets this simple implementation is as fast and accurate as the usual SVM implementations.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_C
The parameter name for "The SVM complexity constant (0: calculates probably good value). |
static java.lang.String |
PARAMETER_DYNAMIC_INERTIA_WEIGHT
The parameter name for "If set to true the inertia weight is improved during run. |
static java.lang.String |
PARAMETER_GENERATIONS_WITHOUT_IMPROVAL
The parameter name for "Stop after this number of generations without improvement (-1: optimize until max_iterations). |
static java.lang.String |
PARAMETER_GLOBAL_BEST_WEIGHT
The parameter name for "The weight for the population's best position during run. |
static java.lang.String |
PARAMETER_INERTIA_WEIGHT
The parameter name for "The (initial) weight for the old weighting. |
static java.lang.String |
PARAMETER_LOCAL_BEST_WEIGHT
The parameter name for "The weight for the individual's best position during run. |
static java.lang.String |
PARAMETER_MAX_EVALUATIONS
The parameter name for "Stop after this many evaluations" |
static java.lang.String |
PARAMETER_POPULATION_SIZE
The parameter name for "The population size (-1: number of examples)" |
static java.lang.String |
PARAMETER_SHOW_CONVERGENCE_PLOT
The parameter name for "Indicates if a dialog with a convergence plot should be drawn. |
| Fields inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN |
| Constructor Summary | |
|---|---|
PSOSVM(OperatorDescription description)
Creates a new SVM which uses a particle swarm optimization approach for optimization. |
|
| Method Summary | |
|---|---|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
Model |
learn(ExampleSet exampleSet)
Learns and returns a model. |
boolean |
supportsCapability(LearnerCapability lc)
Returns true for numerical attributes, binominal classes, and numerical target attributes. |
| Methods inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
apply, getEstimatedPerformance, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, onlyWarnForNonSufficientCapabilities, shouldCalculateWeights, shouldDeliverOptimizationPerformance, shouldEstimatePerformance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_SHOW_CONVERGENCE_PLOT
public static final java.lang.String PARAMETER_C
public static final java.lang.String PARAMETER_MAX_EVALUATIONS
public static final java.lang.String PARAMETER_GENERATIONS_WITHOUT_IMPROVAL
public static final java.lang.String PARAMETER_POPULATION_SIZE
public static final java.lang.String PARAMETER_INERTIA_WEIGHT
public static final java.lang.String PARAMETER_LOCAL_BEST_WEIGHT
public static final java.lang.String PARAMETER_GLOBAL_BEST_WEIGHT
public static final java.lang.String PARAMETER_DYNAMIC_INERTIA_WEIGHT
| Constructor Detail |
|---|
public PSOSVM(OperatorDescription description)
| Method Detail |
|---|
public Model learn(ExampleSet exampleSet)
throws OperatorException
OperatorExceptionpublic boolean supportsCapability(LearnerCapability lc)
public java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||