Package elki.svm
Class CSVC
- java.lang.Object
-
- elki.svm.AbstractSingleSVM
-
- elki.svm.AbstractSVC
-
- elki.svm.CSVC
-
public class CSVC extends AbstractSVC
Regularized SVM based classification (C-SVC, C-SVM).
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double
Cn
(package private) double
Cp
private static Logging
LOG
-
Fields inherited from class elki.svm.AbstractSVC
probability
-
Fields inherited from class elki.svm.AbstractSingleSVM
cache_size, eps, MONE, ONE, shrinking
-
-
Constructor Summary
Constructors Constructor Description CSVC(double eps, boolean shrinking, double cache_size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Logging
getLogger()
void
set_weights(double Cp, double Cn)
protected Solver.SolutionInfo
solve(DataSet x)
-
Methods inherited from class elki.svm.AbstractSVC
cross_validation, train, train
-
Methods inherited from class elki.svm.AbstractSingleSVM
groupClasses, makeFolds, nonzero, shuffledIndex, stratifiedFolds, train_one
-
-
-
-
Field Detail
-
LOG
private static final Logging LOG
-
Cp
double Cp
-
Cn
double Cn
-
-
Method Detail
-
set_weights
public void set_weights(double Cp, double Cn)
- Overrides:
set_weights
in classAbstractSingleSVM
-
solve
protected Solver.SolutionInfo solve(DataSet x)
- Specified by:
solve
in classAbstractSingleSVM
-
getLogger
protected Logging getLogger()
- Specified by:
getLogger
in classAbstractSingleSVM
-
-