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