Emgu CV Library Documentation
Predict Method (sample, missingDataMask)
NamespacesEmgu.CV.MLRTreesPredict(Matrix<(Of <(Single>)>), Matrix<(Of <(Int32>)>))

www.emgu.com/wiki
The method takes the feature vector and the optional missing measurement mask on input, traverses the random tree and returns the cumulative result from all the trees in the forest (the class that receives the majority of voices, or the mean of the regression function estimates)
Declaration Syntax
C#Visual BasicVisual C++
public float Predict(
	Matrix<float> sample,
	Matrix<int> missingDataMask
)
Public Function Predict ( _
	sample As Matrix(Of Single), _
	missingDataMask As Matrix(Of Integer) _
) As Single
public:
float Predict(
	Matrix<float>^ sample, 
	Matrix<int>^ missingDataMask
)
Parameters
sample (Matrix<(Of <(Single>)>))
The sample to be predicted
missingDataMask (Matrix<(Of <(Int32>)>))
Can be null if not needed. When specified, it is an 8-bit matrix of the same size as trainData, is used to mark the missed values (non-zero elements of the mask)
Return Value
The cumulative result from all the trees in the forest (the class that receives the majority of voices, or the mean of the regression function estimates)

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