public class svmClassifier
extends java.lang.Object
This class is a wrapper to the LibSVM C-SVM classifier, in order to operate with KEEL data sets and parameters.
Modifier and Type | Field and Description |
---|---|
double[][] |
probabilities
SVM probabilities.
|
Constructor and Description |
---|
svmClassifier(java.lang.String fileParam)
Creates a new instance of svmClassifier
|
Modifier and Type | Method and Description |
---|---|
void |
process()
Process the training and test files provided in the parameters file to the constructor.
|
void |
process(InstanceSet train,
InstanceSet test)
Process the training and test files provided in the parameters file to the constructor.
|
public svmClassifier(java.lang.String fileParam)
fileParam
- The path to the configuration file with all the parameters in KEEL formatpublic void process()
Process the training and test files provided in the parameters file to the constructor.
public void process(InstanceSet train, InstanceSet test)
Process the training and test files provided in the parameters file to the constructor.
train
- training file.test
- test file.