Package elki.svm
Class AbstractSVC
- java.lang.Object
-
- elki.svm.AbstractSingleSVM
-
- elki.svm.AbstractSVC
-
public abstract class AbstractSVC extends AbstractSingleSVM
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
probability
-
Fields inherited from class elki.svm.AbstractSingleSVM
cache_size, eps, MONE, ONE, shrinking
-
-
Constructor Summary
Constructors Constructor Description AbstractSVC(double eps, boolean shrinking, double cache_size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private double[]
binary_svc_probability(DataSet x, double Cp, double Cn)
void
cross_validation(DataSet x, double[] weighted_C, int nr_fold, double[] target)
private double[]
sigmoid_train(double[] dec_values, DataSet x)
ClassificationModel
train(DataSet x)
ClassificationModel
train(DataSet x, double[] weighted_C)
-
Methods inherited from class elki.svm.AbstractSingleSVM
getLogger, groupClasses, makeFolds, nonzero, set_weights, shuffledIndex, solve, stratifiedFolds, train_one
-
-
-
-
Method Detail
-
train
public ClassificationModel train(DataSet x)
-
train
public ClassificationModel train(DataSet x, double[] weighted_C)
-
cross_validation
public void cross_validation(DataSet x, double[] weighted_C, int nr_fold, double[] target)
-
sigmoid_train
private double[] sigmoid_train(double[] dec_values, DataSet x)
-
binary_svc_probability
private double[] binary_svc_probability(DataSet x, double Cp, double Cn)
-
-