Package elki.svm
Class AbstractSVR
- java.lang.Object
-
- elki.svm.AbstractSingleSVM
-
- elki.svm.AbstractSVR
-
- Direct Known Subclasses:
EpsilonSVR
,NuSVR
,OneClassSVM
,R2q
,SVDD
public abstract class AbstractSVR 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 AbstractSVR(double eps, boolean shrinking, double cache_size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cross_validation(DataSet x, int nr_fold, double[] target)
private double
svr_probability(DataSet x, double[] probA)
RegressionModel
train(DataSet x)
-
Methods inherited from class elki.svm.AbstractSingleSVM
getLogger, groupClasses, makeFolds, nonzero, set_weights, shuffledIndex, solve, stratifiedFolds, train_one
-
-
-
-
Method Detail
-
cross_validation
public void cross_validation(DataSet x, int nr_fold, double[] target)
-
svr_probability
private double svr_probability(DataSet x, double[] probA)
-
train
public RegressionModel train(DataSet x)
-
-