http://www.emgu.com
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.4.10.1935 (2.4.10.1935)

Syntax

C#
public static double CvEMPredict(
	IntPtr model,
	IntPtr samples,
	IntPtr probs,
	ref double likelihood
)
Visual Basic
Public Shared Function CvEMPredict ( 
	model As IntPtr,
	samples As IntPtr,
	probs As IntPtr,
	ByRef likelihood As Double
) As Double
Visual C++
public:
static double CvEMPredict(
	IntPtr model, 
	IntPtr samples, 
	IntPtr probs, 
	double% likelihood
)
F#
static member CvEMPredict : 
        model : IntPtr * 
        samples : IntPtr * 
        probs : IntPtr * 
        likelihood : float byref -> float 

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
likelihood
Type: System..::..Double%
The likelihood logarithm value

Return Value

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

See Also