Emgu CV Library Documentation
CvBoostPredict Method (model, sample, missing, weakResponses, slice, rawMode)
NamespacesEmgu.CV.MLMlInvokeCvBoostPredict(IntPtr, IntPtr, IntPtr, IntPtr, MCvSlice, Boolean)

www.emgu.com/wiki
Runs the sample through the trees in the ensemble and returns the output class label based on the weighted voting
Declaration Syntax
C#Visual BasicVisual C++
public static float CvBoostPredict(
	IntPtr model,
	IntPtr sample,
	IntPtr missing,
	IntPtr weakResponses,
	MCvSlice slice,
	bool rawMode
)
Public Shared Function CvBoostPredict ( _
	model As IntPtr, _
	sample As IntPtr, _
	missing As IntPtr, _
	weakResponses As IntPtr, _
	slice As MCvSlice, _
	rawMode As Boolean _
) As Single
public:
static float CvBoostPredict(
	IntPtr model, 
	IntPtr sample, 
	IntPtr missing, 
	IntPtr weakResponses, 
	MCvSlice slice, 
	bool rawMode
)
Parameters
model (IntPtr)
The Boost Tree model
sample (IntPtr)
The input sample
missing (IntPtr)
Can be IntPtr.Zero if not needed. The optional mask of missing measurements. To handle missing measurements, the weak classifiers must include surrogate splits
weakResponses (IntPtr)
Can be IntPtr.Zero if not needed. a floating-point vector, of responses from each individual weak classifier. The number of elements in the vector must be equal to the slice length.
slice (MCvSlice)
The continuous subset of the sequence of weak classifiers to be used for prediction
rawMode (Boolean)
Normally set to false that implies a regular input. If it is true, the method assumes that all the values of the discrete input variables have been already normalized to 0..num_of_categoriesi-1 ranges. (as the decision tree uses such normalized representation internally). It is useful for faster prediction with tree ensembles. For ordered input variables the flag is not used.
Return Value
The output class label based on the weighted voting

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