|
||||||||||
| 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.AbstractMySVMLearner
com.rapidminer.operator.learner.functions.kernel.JMySVMLearner
public class JMySVMLearner
This learner uses the Java implementation of the support vector machine mySVM by Stefan Rüping. This learning method can be used for both regression and classification and provides a fast algorithm and good results for many learning tasks.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_BALANCE_COST
The parameter name for "Adapts Cpos and Cneg to the relative size of the classes" |
static java.lang.String |
PARAMETER_EPSILON
The parameter name for "Insensitivity constant. |
static java.lang.String |
PARAMETER_EPSILON_MINUS
The parameter name for "Epsilon for negative deviation only" |
static java.lang.String |
PARAMETER_EPSILON_PLUS
The parameter name for "Epsilon for positive deviation only" |
static java.lang.String |
PARAMETER_ESTIMATE_PERFORMANCE
The parameter name for "Indicates if this learner should also return a performance estimation. |
static java.lang.String |
PARAMETER_L_NEG
The parameter name for "A factor for the SVM complexity constant for negative examples" |
static java.lang.String |
PARAMETER_L_POS
The parameter name for "A factor for the SVM complexity constant for positive examples" |
static java.lang.String |
PARAMETER_QUADRATIC_LOSS_NEG
The parameter name for "Use quadratic loss for negative deviation" |
static java.lang.String |
PARAMETER_QUADRATIC_LOSS_POS
The parameter name for "Use quadratic loss for positive deviation" |
| Fields inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN |
| Constructor Summary | |
|---|---|
JMySVMLearner(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
SVMInterface |
createSVM(Attribute label,
Kernel kernel,
SVMExamples sVMExamples,
ExampleSet rapidMinerExamples)
Creates a new SVM according to the given label. |
AbstractMySVMModel |
createSVMModel(ExampleSet exampleSet,
SVMExamples sVMExamples,
Kernel kernel,
int kernelType)
Creates a new SVM model from the given data. |
PerformanceVector |
getEstimatedPerformance()
Returns the estimated performances of this SVM. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
boolean |
shouldEstimatePerformance()
Returns true if the user wants to estimate the performance (depending on a parameter). |
| Methods inherited from class com.rapidminer.operator.learner.functions.kernel.AbstractMySVMLearner |
|---|
createKernel, getKernel, getOptimizationPerformance, getSVM, getWeights, learn, shouldCalculateWeights, shouldDeliverOptimizationPerformance, supportsCapability |
| Methods inherited from class com.rapidminer.operator.learner.AbstractLearner |
|---|
apply, getInputClasses, getInputDescription, getOutputClasses, onlyWarnForNonSufficientCapabilities |
| 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_ESTIMATE_PERFORMANCE
public static final java.lang.String PARAMETER_L_POS
public static final java.lang.String PARAMETER_L_NEG
public static final java.lang.String PARAMETER_EPSILON
public static final java.lang.String PARAMETER_EPSILON_PLUS
public static final java.lang.String PARAMETER_EPSILON_MINUS
public static final java.lang.String PARAMETER_BALANCE_COST
public static final java.lang.String PARAMETER_QUADRATIC_LOSS_POS
public static final java.lang.String PARAMETER_QUADRATIC_LOSS_NEG
| Constructor Detail |
|---|
public JMySVMLearner(OperatorDescription description)
| Method Detail |
|---|
public boolean shouldEstimatePerformance()
AbstractLearner
shouldEstimatePerformance in interface LearnershouldEstimatePerformance in class AbstractLearner
public PerformanceVector getEstimatedPerformance()
throws OperatorException
getEstimatedPerformance in interface LearnergetEstimatedPerformance in class AbstractLearnerOperatorException
public AbstractMySVMModel createSVMModel(ExampleSet exampleSet,
SVMExamples sVMExamples,
Kernel kernel,
int kernelType)
AbstractMySVMLearner
createSVMModel in class AbstractMySVMLearner
public SVMInterface createSVM(Attribute label,
Kernel kernel,
SVMExamples sVMExamples,
ExampleSet rapidMinerExamples)
throws OperatorException
AbstractMySVMLearner
createSVM in class AbstractMySVMLearnerOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class AbstractMySVMLearner
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||