Emgu CV Library Documentation
CvEMTrain Method (model, samples, sampleIdx, parameters, labels)
NamespacesEmgu.CV.MLMlInvokeCvEMTrain(IntPtr, IntPtr, IntPtr, MCvEMParams, IntPtr)

www.emgu.com/wiki
Train the EM model using the specific training data
Declaration Syntax
C#Visual BasicVisual C++
public static bool CvEMTrain(
	IntPtr model,
	IntPtr samples,
	IntPtr sampleIdx,
	MCvEMParams parameters,
	IntPtr labels
)
Public Shared Function CvEMTrain ( _
	model As IntPtr, _
	samples As IntPtr, _
	sampleIdx As IntPtr, _
	parameters As MCvEMParams, _
	labels As IntPtr _
) As Boolean
public:
static bool CvEMTrain(
	IntPtr model, 
	IntPtr samples, 
	IntPtr sampleIdx, 
	MCvEMParams parameters, 
	IntPtr labels
)
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)]

Assembly: Emgu.CV.ML (Module: Emgu.CV.ML) Version: 1.0.0.0 (1.0.0.0)