Create a normal Bayes classifier using the specific training data
Namespace: Emgu.CV.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- trainData
- IntPtr
The training data. A 32-bit floating-point, single-channel matrix, one vector per row
- responses
- IntPtr
A floating-point matrix of the corresponding output vectors, one vector per row.
- varIdx
- IntPtr
Can be IntPtr.Zero if not needed. When specified, identifies variables (features) of interest. It is a Matrix>int< of nx1
- sampleIdx
- IntPtr
Can be IntPtr.Zero if not needed. When specified, identifies samples of interest. It is a Matrix>int< of nx1