http://www.emgu.com
Given the NormalBayesClassifier, 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 float Predict(
	Matrix<float> samples,
	Matrix<int> results
)
Visual Basic
Public Function Predict ( 
	samples As Matrix(Of Single),
	results As Matrix(Of Integer)
) As Single
Visual C++
public:
float Predict(
	Matrix<float>^ samples, 
	Matrix<int>^ results
)
F#
member Predict : 
        samples : Matrix<float32> * 
        results : Matrix<int> -> float32 

Parameters

samples
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
The input samples
results
Type: Emgu.CV..::..Matrix<(Of <(<'Int32>)>)>
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