http://www.emgu.com
Train the EM model using the specific training data

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

Syntax

C#
public bool Train(
	Matrix<float> samples,
	EMParams parameters,
	Matrix<int> labels
)
Visual Basic
Public Function Train ( 
	samples As Matrix(Of Single),
	parameters As EMParams,
	labels As Matrix(Of Integer)
) As Boolean
Visual C++
public:
bool Train(
	Matrix<float>^ samples, 
	EMParams^ parameters, 
	Matrix<int>^ labels
)
F#
member Train : 
        samples : Matrix<float32> * 
        parameters : EMParams * 
        labels : Matrix<int> -> bool 

Parameters

samples
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
The training data. A 32-bit floating-point, single-channel matrix, one vector per row
parameters
Type: Emgu.CV.ML..::..EMParams
The parameters for EM
labels
Type: Emgu.CV..::..Matrix<(Of <(<'Int32>)>)>
Can be null if not needed. Optionally computed output "class label" for each sample

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Emgu.CV.ML.EMLegacy.Train(Emgu.CV.Matrix{System.Single},Emgu.CV.ML.EMParams,Emgu.CV.Matrix{System.Int32})"]

See Also