Train the EM model using the specific training data

Namespace:  Emgu.CV.ML
Assembly:  Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static bool CvEMTrain(
	IntPtr model,
	IntPtr samples,
	IntPtr sampleIdx,
	MCvEMParams parameters,
	IntPtr labels
)
Visual Basic (Declaration)
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)"]

See Also