Predit the response of the samples
Namespace:
Emgu.CV.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public float Predict( Matrix<float> samples, Matrix<float> outputs ) |
Visual Basic (Declaration) |
---|
Public Function Predict ( _ samples As Matrix(Of Single), _ outputs As Matrix(Of Single) _ ) As Single |
Visual C++ |
---|
public: float Predict( Matrix<float>^ samples, Matrix<float>^ outputs ) |
Parameters
- samples
- Type: Emgu.CV..::.Matrix<(Of <(Single>)>)
The input samples
- outputs
- Type: Emgu.CV..::.Matrix<(Of <(Single>)>)
The prediction results, should have the same # of rows as the samples