http://www.emgu.com
Predit the probability of the samples

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

Syntax

C#
public double Predict(
	Matrix<float> samples,
	Matrix<float> probs,
	out double likelihood
)
Visual Basic
Public Function Predict ( _
	samples As Matrix(Of Single), _
	probs As Matrix(Of Single), _
	<OutAttribute> ByRef likelihood As Double _
) As Double
Visual C++
public:
double Predict(
	Matrix<float>^ samples, 
	Matrix<float>^ probs, 
	[OutAttribute] double% likelihood
)

Parameters

samples
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
The input samples
probs
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
The prediction results, should have the same # of rows as the samples
likelihood
Type: System..::..Double%
The likelihood logarithm value

Return Value

an index of the most probable mixture component for the given sample.

See Also