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.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static float CvNormalBayesClassifierPredict(
	IntPtr model,
	IntPtr samples,
	IntPtr results
)
Public Shared Function CvNormalBayesClassifierPredict ( _
	model As IntPtr, _
	samples As IntPtr, _
	results As IntPtr _
) As Single
public:
static float CvNormalBayesClassifierPredict(
	IntPtr model, 
	IntPtr samples, 
	IntPtr results
)

Parameters

model
IntPtr
The NormalBayesClassifier classifier model
samples
IntPtr
The input samples
results
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