SVM Class |
Namespace: Emgu.CV.ML
The SVM type exposes the following members.
Name | Description | |
---|---|---|
![]() | C |
Parameter C of a SVM optimization problem
|
![]() | Coef0 |
Parameter coef0 of a kernel function
|
![]() | Degree |
Parameter degree of a kernel function
|
![]() | Gamma |
Parameter gamma of a kernel function
|
![]() | KernelType |
Type of a SVM kernel
|
![]() | Nu |
Parameter nu of a SVM optimization problem
|
![]() | P |
Parameter epsilon of a SVM optimization problem
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | TermCriteria |
Termination criteria of the iterative SVM training procedure which solves a partial case of constrained quadratic optimization problem
|
![]() | Type |
Type of a SVM formulation
|
Name | Description | |
---|---|---|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release all the memory associated with the SVM
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() ![]() | GetDefaultGrid |
Get the default parameter grid for the specific SVM type
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetSupportVectors |
Retrieves all the support vectors.
|
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | SetKernel |
Initialize with one of predefined kernels
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TrainAuto(TrainData, Int32) |
The method trains the SVM model automatically by choosing the optimal parameters C, gamma, p, nu, coef0, degree from CvSVMParams. By the optimality one mean that the cross-validation estimate of the test set error is minimal.
|
![]() | TrainAuto(TrainData, Int32, MCvParamGrid, MCvParamGrid, MCvParamGrid, MCvParamGrid, MCvParamGrid, MCvParamGrid, Boolean) |
The method trains the SVM model automatically by choosing the optimal parameters C, gamma, p, nu, coef0, degree from CvSVMParams. By the optimality one mean that the cross-validation estimate of the test set error is minimal.
|
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
Name | Description | |
---|---|---|
![]() | Clear |
Clear the algorithm
(Defined by AlgorithmExtensions.) |
![]() | GetDefaultName |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
(Defined by AlgorithmExtensions.) |
![]() | IsEmpty |
Returns true if the Algorithm is empty. e.g. in the very beginning or after unsuccessful read.
(Defined by AlgorithmExtensions.) |
![]() | Load |
Loads algorithm from the file
(Defined by AlgorithmExtensions.) |
![]() | LoadFromString |
Loads algorithm from a String
(Defined by AlgorithmExtensions.) |
![]() | Predict |
Predicts response(s) for the provided sample(s)
(Defined by StatModelExtensions.) |
![]() | Read |
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.) |
![]() | Save |
Save the algorithm to file
(Defined by AlgorithmExtensions.) |
![]() | SaveToString |
Save the algorithm to a string
(Defined by AlgorithmExtensions.) |
![]() | Train(TrainData, Int32) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Train(IInputArray, DataLayoutType, IInputArray) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Write(FileStorage) | Overloaded.
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.) |
![]() | Write(FileStorage, String) | Overloaded.
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.) |