Train the EM model using the specific training data
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++ |
Parameters
- model
- IntPtr
The EM model
- samples
- IntPtr
The training data. A 32-bit floating-point, single-channel matrix, one vector per row
- sampleIdx
- IntPtr
Can be IntPtr.Zero if not needed. When specified, identifies samples of interest. It is a Matrix>int< of nx1
- parameters
- MCvEMParams
The parameters for EM
- labels
- IntPtr
Can be IntPtr.Zero if not needed. Optionally computed output "class label" for each sample
Return Value
[Missing <returns> documentation for "M:Emgu.CV.ML.MlInvoke.CvEMTrain(System.IntPtr,System.IntPtr,System.IntPtr,Emgu.CV.ML.Structure.MCvEMParams,System.IntPtr)"]