SVM training parameters
Inheritance Hierarchy
OpenCvSharp.CPlusPlusCvSVMParams
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvSVMParams type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CvSVMParams |
Default constructor
| |
| CvSVMParams(SVMType, SVMKernelType, Double, Double, Double, Double, Double, Double, CvMat, CvTermCriteria) |
Constructor
|
Properties
| Name | Description | |
|---|---|---|
| C |
for SVMType.CSvc, SVMType.EpsSvr and SVMType.NuSvr
| |
| ClassWeights |
for SVMType.CSvc
| |
| Coef0 |
for poly/sigmoid
| |
| Degree |
for poly
| |
| Gamma |
for poly/rbf/sigmoid
| |
| KernelType |
The kernel type
| |
| Nu |
for SVMType.NuSvc, SVMType.OneClass and SVMType.NuSvr
| |
| P |
for SVMType.EpsSvr
| |
| SVMType |
Type of SVM
| |
| TermCrit |
Termination criteria
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
See Also