org.opencv.ml
Class CvSVMParams
java.lang.Object
org.opencv.ml.CvSVMParams
public class CvSVMParams
- extends java.lang.Object
SVM training parameters.
The structure must be initialized and passed to the training method of
"CvSVM".
- See Also:
- org.opencv.ml.CvSVMParams
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nativeObj
protected final long nativeObj
CvSVMParams
public CvSVMParams()
The constructors.
The default constructor initialize the structure with following values:
- See Also:
- org.opencv.ml.CvSVMParams.CvSVMParams
CvSVMParams
protected CvSVMParams(long addr)
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
get_C
public double get_C()
get_coef0
public double get_coef0()
get_degree
public double get_degree()
get_gamma
public double get_gamma()
get_kernel_type
public int get_kernel_type()
get_nu
public double get_nu()
get_p
public double get_p()
get_svm_type
public int get_svm_type()
get_term_crit
public TermCriteria get_term_crit()
set_C
public void set_C(double C)
set_coef0
public void set_coef0(double coef0)
set_degree
public void set_degree(double degree)
set_gamma
public void set_gamma(double gamma)
set_kernel_type
public void set_kernel_type(int kernel_type)
set_nu
public void set_nu(double nu)
set_p
public void set_p(double p)
set_svm_type
public void set_svm_type(int svm_type)
set_term_crit
public void set_term_crit(TermCriteria term_crit)