Train the SVM model with the specific paramters
| C# | Visual Basic | Visual C++ |
public bool Train( Matrix<float> trainData, Matrix<float> responses, Matrix<int> varIdx, Matrix<int> sampleIdx, SVMParams parameters )
- 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
[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)]