http://www.emgu.com
Assembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.4.2.1777 (2.4.2.1777)
Predit the probability of the samples
Namespace: Emgu.CV.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.4.2.1777 (2.4.2.1777)
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