Emgu CV Library Documentation
CvSVMTrain Method (model, trainData, responses, varIdx, sampleIdx, parameters)
NamespacesEmgu.CV.MLMlInvokeCvSVMTrain(IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, MCvSVMParams)

www.emgu.com/wiki
Train the SVM model with the specific paramters
Declaration Syntax
C#Visual BasicVisual C++
public static bool CvSVMTrain(
	IntPtr model,
	IntPtr trainData,
	IntPtr responses,
	IntPtr varIdx,
	IntPtr sampleIdx,
	MCvSVMParams parameters
)
Public Shared Function CvSVMTrain ( _
	model As IntPtr, _
	trainData As IntPtr, _
	responses As IntPtr, _
	varIdx As IntPtr, _
	sampleIdx As IntPtr, _
	parameters As MCvSVMParams _
) As Boolean
public:
static bool CvSVMTrain(
	IntPtr model, 
	IntPtr trainData, 
	IntPtr responses, 
	IntPtr varIdx, 
	IntPtr sampleIdx, 
	MCvSVMParams parameters
)
Parameters
model (IntPtr)
The SVM model
trainData (IntPtr)
The training data. A 32-bit floating-point, single-channel matrix
responses (IntPtr)
The response for the training data. It's usually a 32-bit floating point matrix; In classification problem, it can be an Int32 matrix.
varIdx (IntPtr)
Can be IntPtr.Zero if not needed. When specified, identifies variables (features) of interest. It is a Matrix>int< of nx1
sampleIdx (IntPtr)
Can be IntPtr.Zero if not needed. When specified, identifies samples of interest. It is a Matrix>int< of nx1
parameters (MCvSVMParams)
The parameters for SVM
Return Value

[Missing <returns> documentation for M:Emgu.CV.ML.MlInvoke.CvSVMTrain(System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,Emgu.CV.ML.Structure.MCvSVMParams)]

Assembly: Emgu.CV.ML (Module: Emgu.CV.ML) Version: 1.0.0.0 (1.0.0.0)