Given the EM model, predit the probability of the samples

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 float CvEMPredict(
	IntPtr model,
	IntPtr samples,
	IntPtr probs
)
Visual Basic (Declaration)
Public Shared Function CvEMPredict ( _
	model As IntPtr, _
	samples As IntPtr, _
	probs As IntPtr _
) As Single
Visual C++
public:
static float CvEMPredict(
	IntPtr model, 
	IntPtr samples, 
	IntPtr probs
)

Parameters

model
Type: System..::.IntPtr
The EM model
samples
Type: System..::.IntPtr
The input samples
probs
Type: System..::.IntPtr
The prediction results, should have the same # of rows as the samples

Return Value

In case of classification the method returns the class label, in case of regression - the output function value

See Also