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.10.1935 (2.4.10.1935)

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
)
F#
member Predict : 
        samples : Matrix<float32> * 
        probs : Matrix<float32> * 
        likelihood : float byref -> float 

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

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

See Also