http://www.emgu.com
Given the NormalBayesClassifier 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 float CvNormalBayesClassifierPredict(
	IntPtr model,
	IntPtr samples,
	IntPtr results
)
Visual Basic
Public Shared Function CvNormalBayesClassifierPredict ( 
	model As IntPtr,
	samples As IntPtr,
	results As IntPtr
) As Single
Visual C++
public:
static float CvNormalBayesClassifierPredict(
	IntPtr model, 
	IntPtr samples, 
	IntPtr results
)
F#
static member CvNormalBayesClassifierPredict : 
        model : IntPtr * 
        samples : IntPtr * 
        results : IntPtr -> float32 

Parameters

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

Return Value

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

See Also