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.MLAssembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
Visual Basic |
---|
Public Shared Function CvRTreesPredict ( _
model As IntPtr, _
sample As IntPtr, _
missingDataMask As IntPtr _
) As Single |
Parameters
- model
- Type: System..::..IntPtr
The decision tree model
- sample
- Type: System..::..IntPtr
The sample to be predicted
- missingDataMask
- Type: System..::..IntPtr
Can be IntPtr.Zero 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)
See Also