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.2.1777 (2.4.2.1777)

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
)

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

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

See Also