Package org.biojava.stats.svm
Class SMOTrainer
- java.lang.Object
-
- org.biojava.stats.svm.SMOTrainer
-
public class SMOTrainer extends Object
Train a support vector machine using the Sequential Minimal Optimization algorithm. See Kernel Methods book.- Author:
- Thomas Down, Matthew Pocock
-
-
Constructor Summary
Constructors Constructor Description SMOTrainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getC()
double
getEpsilon()
void
setC(double C)
void
setEpsilon(double epsilon)
SVMClassifierModel
trainModel(SVMTarget target, SVMKernel kernel, TrainingListener l)
-
-
-
Constructor Detail
-
SMOTrainer
public SMOTrainer()
-
-
Method Detail
-
setC
public void setC(double C)
-
getC
public double getC()
-
setEpsilon
public void setEpsilon(double epsilon)
-
getEpsilon
public double getEpsilon()
-
trainModel
public SVMClassifierModel trainModel(SVMTarget target, SVMKernel kernel, TrainingListener l)
-
-