Emgu CV Library Documentation
CvNormalBayesClassifierCreate Method (trainData, responses, varIdx, sampleIdx)
NamespacesEmgu.CV.MLMlInvokeCvNormalBayesClassifierCreate(IntPtr, IntPtr, IntPtr, IntPtr)

www.emgu.com/wiki
Create a normal Bayes classifier using the specific training data
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CvNormalBayesClassifierCreate(
	IntPtr trainData,
	IntPtr responses,
	IntPtr varIdx,
	IntPtr sampleIdx
)
Public Shared Function CvNormalBayesClassifierCreate ( _
	trainData As IntPtr, _
	responses As IntPtr, _
	varIdx As IntPtr, _
	sampleIdx As IntPtr _
) As IntPtr
public:
static IntPtr CvNormalBayesClassifierCreate(
	IntPtr trainData, 
	IntPtr responses, 
	IntPtr varIdx, 
	IntPtr sampleIdx
)
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
Return Value
The normal Beyes classifier

Assembly: Emgu.CV.ML (Module: Emgu.CV.ML) Version: 1.0.0.0 (1.0.0.0)