public class SVMSEL extends PrototypeGenerator
algorithmName, generatedDataSet, SEED, seedDefaultValueList, trainingDataSet
Constructor and Description |
---|
SVMSEL(PrototypeSet _trainingDataSet,
java.lang.String kernelType)
Performs an selection of the training data set using SVM.
|
SVMSEL(PrototypeSet _trainingDataSet,
java.lang.String kernelType,
double C,
double eps,
int degree,
double gamma,
double nu,
double p,
int shrinking)
Performs an selection of the training data set using SVM.
|
Modifier and Type | Method and Description |
---|---|
PrototypeSet |
doSVMSelection()
Executes the SVM prototype selection.
|
PrototypeSet |
reduceSet()
Reduction of the original prototype set by the SVM.
|
absoluteAccuracy, absoluteAccuracyAndError, absoluteAccuracyKNN, accuracy, accuracy2, desordenar_vector_sin, desordenar_vector, execute, generateReducedDataSet, getResultingAccuracy, getResultingAccuracy, getResults, getResultsOfAccuracy, getResultsOfAccuracy, getSeed, getSetSizeFromPercentage, getSetSizeFromPercentage, getTime, inic_vector_sin, inic_vector, main, saveResultsOfAccuracyIn, saveResultsOfAccuracyIn, selecRandomSet, setSeed, showResultsOfAccuracy, showResultsOfAccuracy
public SVMSEL(PrototypeSet _trainingDataSet, java.lang.String kernelType, double C, double eps, int degree, double gamma, double nu, double p, int shrinking)
_trainingDataSet
- training datasetkernelType
- {LINEAR, POLY, RBF, SIGMOID} linear: u'*v; polynomial: (gamma*u'*v + coef0)^degree; radial basis function: exp(-gamma*|u-v|^2); sigmoid: tanh(gamma*u'*v + coef0)C
- Parameter C of C-SVC, epsilon-SVR, and nu-SVR (default 1).eps
- Epsilon in loss function of epsilon-SVR (default 0.1)degree
- Degree in kernel function (default 3)gamma
- Gamma in kernel function (default 1/k)nu
- Parameter nu of nu-SVC, one-class SVM, and nu-SVR (default 0.5)p
- P-parameter of the SVM.shrinking
- Whether to use the shrinking heuristics, 0 or 1 (default 1)public SVMSEL(PrototypeSet _trainingDataSet, java.lang.String kernelType)
_trainingDataSet
- training dataset.kernelType
- {LINEAR, POLY, RBF, SIGMOID} linear: u'*v; polynomial: (gamma*u'*v + coef0)^degree; radial basis function: exp(-gamma*|u-v|^2); sigmoid: tanh(gamma*u'*v + coef0)public PrototypeSet doSVMSelection()
public PrototypeSet reduceSet()
reduceSet
in class PrototypeGenerator