org.opencv.ml
Class SVM
java.lang.Object
extended by org.opencv.core.Algorithm
extended by org.opencv.ml.StatModel
extended by org.opencv.ml.SVM
public class SVM
- extends StatModel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
C
public static final int C
- See Also:
- Constant Field Values
C_SVC
public static final int C_SVC
- See Also:
- Constant Field Values
CHI2
public static final int CHI2
- See Also:
- Constant Field Values
COEF
public static final int COEF
- See Also:
- Constant Field Values
CUSTOM
public static final int CUSTOM
- See Also:
- Constant Field Values
DEGREE
public static final int DEGREE
- See Also:
- Constant Field Values
EPS_SVR
public static final int EPS_SVR
- See Also:
- Constant Field Values
GAMMA
public static final int GAMMA
- See Also:
- Constant Field Values
INTER
public static final int INTER
- See Also:
- Constant Field Values
LINEAR
public static final int LINEAR
- See Also:
- Constant Field Values
NU
public static final int NU
- See Also:
- Constant Field Values
NU_SVC
public static final int NU_SVC
- See Also:
- Constant Field Values
NU_SVR
public static final int NU_SVR
- See Also:
- Constant Field Values
ONE_CLASS
public static final int ONE_CLASS
- See Also:
- Constant Field Values
P
public static final int P
- See Also:
- Constant Field Values
POLY
public static final int POLY
- See Also:
- Constant Field Values
RBF
public static final int RBF
- See Also:
- Constant Field Values
SIGMOID
public static final int SIGMOID
- See Also:
- Constant Field Values
create
public static SVM create()
-
getC
public double getC()
-
getClassWeights
public Mat getClassWeights()
-
getCoef0
public double getCoef0()
-
getDecisionFunction
public double getDecisionFunction(int i,
Mat alpha,
Mat svidx)
-
getDegree
public double getDegree()
-
getGamma
public double getGamma()
-
getKernelType
public int getKernelType()
-
getNu
public double getNu()
-
getP
public double getP()
-
getSupportVectors
public Mat getSupportVectors()
-
getTermCriteria
public TermCriteria getTermCriteria()
-
getType
public int getType()
-
setC
public void setC(double val)
-
setClassWeights
public void setClassWeights(Mat val)
-
setCoef0
public void setCoef0(double val)
-
setDegree
public void setDegree(double val)
-
setGamma
public void setGamma(double val)
-
setKernel
public void setKernel(int kernelType)
-
setNu
public void setNu(double val)
-
setP
public void setP(double val)
-
setTermCriteria
public void setTermCriteria(TermCriteria val)
-
setType
public void setType(int val)
-