Predit the probability of the samples

Namespace:  Emgu.CV.ML
Assembly:  Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public float Predict(
	Matrix<float> samples,
	Matrix<float> probs
)
Public Function Predict ( _
	samples As Matrix(Of Single), _
	probs As Matrix(Of Single) _
) As Single
public:
float Predict(
	Matrix<float>^ samples, 
	Matrix<float>^ probs
)

Parameters

samples
Matrix<(Of <(Single>)>)
The input samples
probs
Matrix<(Of <(Single>)>)
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