http://www.emgu.com
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)

Namespace: Emgu.CV.ML
Assembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public float Predict(
	Matrix<float> sample,
	Matrix<byte> missingDataMask
)
Visual Basic
Public Function Predict ( 
	sample As Matrix(Of Single),
	missingDataMask As Matrix(Of Byte)
) As Single
Visual C++
public:
float Predict(
	Matrix<float>^ sample, 
	Matrix<unsigned char>^ missingDataMask
)
F#
member Predict : 
        sample : Matrix<float32> * 
        missingDataMask : Matrix<byte> -> float32 

Parameters

sample
Type: Emgu.CV..::..Matrix<(Of <(<'Single>)>)>
The sample to be predicted
missingDataMask
Type: Emgu.CV..::..Matrix<(Of <(<'Byte>)>)>
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

Type: Single
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)

See Also