Package org.biojava.stats.svm
Class SVMRegressionModel
- java.lang.Object
-
- org.biojava.stats.svm.SVMRegressionModel
-
public class SVMRegressionModel extends Object
- Author:
- Matthew Pocock, Thomas Down
-
-
Constructor Summary
Constructors Constructor Description SVMRegressionModel()
SVMRegressionModel(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVector(Object v)
void
addVector(Object v, double alpha, double alphaStar)
void
calcKernel()
double
classify(Object v)
double
getAlpha(int pos)
double
getAlphaStar(int pos)
SVMKernel
getKernel()
double
getKernelValue(int i, int j)
double
getThreshold()
Object
getVector(int pos)
double
internalClassify(int obj)
void
setAlpha(int pos, double a)
void
setAlphaStar(int pos, double a)
void
setKernel(SVMKernel k)
void
setThreshold(double t)
int
size()
-
-
-
Constructor Detail
-
SVMRegressionModel
public SVMRegressionModel()
-
SVMRegressionModel
public SVMRegressionModel(int capacity)
-
-
Method Detail
-
getThreshold
public double getThreshold()
-
setThreshold
public void setThreshold(double t)
-
size
public int size()
-
getAlpha
public double getAlpha(int pos)
-
setAlpha
public void setAlpha(int pos, double a)
-
getAlphaStar
public double getAlphaStar(int pos)
-
setAlphaStar
public void setAlphaStar(int pos, double a)
-
internalClassify
public double internalClassify(int obj)
-
calcKernel
public void calcKernel()
-
getKernelValue
public double getKernelValue(int i, int j)
-
-