|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.Operator
edu.udo.cs.yale.operator.learner.AbstractLearner
edu.udo.cs.yale.operator.learner.kernel.AbstractMySVMLearner
edu.udo.cs.yale.operator.learner.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 | |
|---|---|
private boolean |
pattern
Indicates if the SVM is used for classification learning. |
| Fields inherited from class edu.udo.cs.yale.operator.learner.kernel.AbstractMySVMLearner |
|---|
KERNEL_DOT, KERNEL_EPANECHNIKOV, KERNEL_GAUSSIAN_COMBINATION, KERNEL_MULTIQUADRIC, KERNEL_NEURAL, KERNEL_POLYNOMIAL, KERNEL_RADIAL, KERNEL_TYPES |
| Constructor Summary | |
|---|---|
JMySVMLearner(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
SVMInterface |
createSVM(Attribute label,
Kernel kernel,
ExampleSet exampleSet,
ExampleSet yaleExamples)
Creates a new SVM according to the given label. |
AbstractMySVMModel |
createSVMModel(Attribute label,
ExampleSet exampleSet,
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). |
boolean |
supportsCapability(LearnerCapability lc)
Checks for Learner capabilities. |
| Methods inherited from class edu.udo.cs.yale.operator.learner.kernel.AbstractMySVMLearner |
|---|
createKernel, getKernel, getOptimizationPerformance, getSVM, getWeights, learn, shouldCalculateWeights, shouldDeliverOptimizationPerformance |
| Methods inherited from class edu.udo.cs.yale.operator.learner.AbstractLearner |
|---|
apply, checkLearnerCapabilities, getInputClasses, getInputDescription, getOutputClasses |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
private boolean pattern
| Constructor Detail |
|---|
public JMySVMLearner(OperatorDescription description)
| Method Detail |
|---|
public boolean supportsCapability(LearnerCapability lc)
Learner
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(Attribute label,
ExampleSet exampleSet,
Kernel kernel,
int kernelType)
AbstractMySVMLearner
createSVMModel in class AbstractMySVMLearner
public SVMInterface createSVM(Attribute label,
Kernel kernel,
ExampleSet exampleSet,
ExampleSet yaleExamples)
throws OperatorException
AbstractMySVMLearner
createSVM in class AbstractMySVMLearnerOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in class AbstractMySVMLearner
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||