public class svmClassifierCost
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.
Constructor and Description |
---|
svmClassifierCost(java.lang.String fileParam)
Creates a new instance of svmClassifier
|
Modifier and Type | Method and Description |
---|---|
double |
getTestAUC()
Calculates the AUC for the test set
|
double |
getTrainAUC()
Calculates the AUC for the training set
|
void |
process()
Process the training and test files provided in the parameters file to the constructor.
|
void |
writeAUCresults(java.lang.String file_name)
Writes the AUC results in an aditional output file if the integral approximation of the AUC needs to be computed
|
public svmClassifierCost(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 writeAUCresults(java.lang.String file_name)
file_name
- Name of the file where the AUC results will be placedpublic double getTrainAUC()
public double getTestAUC()