Emgu CV Library Documentation
Train Method (trainData, responses, varIdx, sampleIdx, parameters)
NamespacesEmgu.CV.MLSVMTrain(Matrix<(Of <(Single>)>), Matrix<(Of <(Single>)>), Matrix<(Of <(Int32>)>), Matrix<(Of <(Int32>)>), SVMParams)

www.emgu.com/wiki
Train the SVM model with the specific paramters
Declaration Syntax
C#Visual BasicVisual C++
public bool Train(
	Matrix<float> trainData,
	Matrix<float> responses,
	Matrix<int> varIdx,
	Matrix<int> sampleIdx,
	SVMParams parameters
)
Public Function Train ( _
	trainData As Matrix(Of Single), _
	responses As Matrix(Of Single), _
	varIdx As Matrix(Of Integer), _
	sampleIdx As Matrix(Of Integer), _
	parameters As SVMParams _
) As Boolean
public:
bool Train(
	Matrix<float>^ trainData, 
	Matrix<float>^ responses, 
	Matrix<int>^ varIdx, 
	Matrix<int>^ sampleIdx, 
	SVMParams^ parameters
)
Parameters
trainData (Matrix<(Of <(Single>)>))
The training data.
responses (Matrix<(Of <(Single>)>))
The response for the training data.
varIdx (Matrix<(Of <(Int32>)>))
Can be null if not needed. When specified, identifies variables (features) of interest. It is a Matrix<int> of nx1
sampleIdx (Matrix<(Of <(Int32>)>))
Can be null if not needed. When specified, identifies samples of interest. It is a Matrix<int> of nx1
parameters (SVMParams)
The parameters for SVM
Return Value

[Missing <returns> documentation for M:Emgu.CV.ML.SVM.Train(Emgu.CV.Matrix{System.Single},Emgu.CV.Matrix{System.Single},Emgu.CV.Matrix{System.Int32},Emgu.CV.Matrix{System.Int32},Emgu.CV.ML.SVMParams)]

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