Train the SVM model with the specific paramters
Namespace: Emgu.CV.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public: bool Train( Matrix<float>^ trainData, Matrix<float>^ responses, Matrix<unsigned char>^ varIdx, Matrix<unsigned char>^ sampleIdx, SVMParams^ parameters )
Parameters
- varIdx
- Matrix<(Of <(<'Byte>)>)>
Can be null if not needed. When specified, identifies variables (features) of interest. It is a Matrix<int> of nx1
- sampleIdx
- Matrix<(Of <(<'Byte>)>)>
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.Byte},Emgu.CV.Matrix{System.Byte},Emgu.CV.ML.SVMParams)"]