 | | Interface Manipulation Package v4.0 (2008-06-25) |  | ©copyright |  |
imp.classifier
Class SvmClassifier
java.lang.Object
imp.classifier.Classifier
imp.classifier.SvmClassifier
public class SvmClassifier
- extends Classifier
Defines a standard C-SVM classifier.
This is a direct interface with 1-to-1 SVM multi-class classifier
developed by
Chih-Chung Chang and
Chih-Jen Lin as a free-ware open-source software, thanks to their
courtesy. It is included in the present bundle.
Only a simple interface is proposed here.
Please refer to the on-line doc for details.
SvmClassifier
public SvmClassifier()
- Constructs a SVM classifier.
setParameters
public SvmClassifier setParameters(double C,
String type,
int degree)
- Defines the classifiers parameters and return this.
- Parameters:
C
- [optional, default is 1] define the error tolerance parameter.type
- [optional, default is "Linear"] kernel type : "Linear", "Polynomial", Radial Basis" or "Sigmoid".degree
- [optional, default is 1] kernel degree 1 to .. a few.