|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclassifier.SVMOptions
public class SVMOptions
Class defining various classifier options that are specific to Support vector machines. Access to variables is public for easier implementation.
Nested Class Summary | |
---|---|
static class |
SVMOptions.KERNEL_TYPE
The different kernel functions. |
Field Summary | |
---|---|
ClassificationAction.CLASSIFIERS |
classifier
The type of classifier. |
double |
coeff
for polynomial and sigmoid kernel |
double |
complexity
Complexity of the SVM |
double |
degree
Degree, only applicable for polynomial kernel functions |
double |
gamma
for polynomial, rbf and sigmoid kernel function |
SVMOptions.KERNEL_TYPE |
kernel_type
Kernel function type |
Constructor Summary | |
---|---|
SVMOptions()
|
Method Summary | |
---|---|
boolean |
setParameters(java.lang.String[] params)
Sets classifier parameters by parsing them from an array of strings. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double complexity
public SVMOptions.KERNEL_TYPE kernel_type
public double degree
public double gamma
public double coeff
public ClassificationAction.CLASSIFIERS classifier
Constructor Detail |
---|
public SVMOptions()
Method Detail |
---|
public boolean setParameters(java.lang.String[] params)
setParameters
in interface ClassifierOptions
params
- An array of strings containing the various parameters and
its values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |