http://www.emgu.com
Assembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.3.0.1416 (2.3.0.1416)
Train the EM model using the specific training data
Namespace: Emgu.CV.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static bool CvEMTrain( IntPtr model, IntPtr samples, IntPtr sampleIdx, MCvEMParams parameters, IntPtr labels ) |
Visual Basic |
---|
Public Shared Function CvEMTrain ( _ model As IntPtr, _ samples As IntPtr, _ sampleIdx As IntPtr, _ parameters As MCvEMParams, _ labels As IntPtr _ ) As Boolean |
Visual C++ |
---|
public: static bool CvEMTrain( IntPtr model, IntPtr samples, IntPtr sampleIdx, MCvEMParams parameters, IntPtr labels ) |
Parameters
- model
- Type: System..::..IntPtr
The EM model
- samples
- Type: System..::..IntPtr
The training data. A 32-bit floating-point, single-channel matrix, one vector per row
- sampleIdx
- Type: System..::..IntPtr
Can be IntPtr.Zero if not needed. When specified, identifies samples of interest. It is a Matrix>int< of nx1
- parameters
- Type: Emgu.CV.ML.Structure..::..MCvEMParams
The parameters for EM
- labels
- Type: System..::..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)"]