Support Vector Machine

Namespace: Emgu.CV.ML
Assembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class SVM : StatModel
Public Class SVM _
	Inherits StatModel
public ref class SVM : public StatModel

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
SVM()()()()
Create a support Vector Machine
_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Clear()()()()
Clear the statistic model
(Inherited from StatModel.)
Dispose()()()()
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
DisposeObject()()()()
Release all the memory associated with the SVM
(Overrides DisposableObject..::..DisposeObject()()()().)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Destructor
(Inherited from DisposableObject.)
GetDefaultGrid(SVM_PARAM_TYPE)
Get the default parameter grid for the specific SVM type
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSupportVector(Int32)
The method retrieves a given support vector
GetSupportVectorCount()()()()
The method retrieves the number of support vectors
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GetVarCount()()()()
The method retrieves the number of vars
Load(String)
Load the statistic model from file
(Inherited from StatModel.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parameters
Get a copy of the SVM parameters
Predict(Matrix<(Of <<'(Single>)>>))
Predicts response for the input sample.
Ptr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
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.)
Save(String)
Save the statistic model to file
(Inherited from StatModel.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Train(Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Byte>)>>), Matrix<(Of <<'(Byte>)>>), SVMParams)
Train the SVM model with the specific paramters
TrainAuto(Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Byte>)>>), Matrix<(Of <<'(Byte>)>>), MCvSVMParams, 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(Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Single>)>>), Matrix<(Of <<'(Byte>)>>), Matrix<(Of <<'(Byte>)>>), MCvSVMParams, Int32, MCvParamGrid, MCvParamGrid, MCvParamGrid, MCvParamGrid, MCvParamGrid, MCvParamGrid)
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.

Inheritance Hierarchy

See Also