http://www.emgu.com
Returns the result of each individual tree in the forest.
In case the model is a regression problem, the method will return each of the trees'
results for each of the sample cases.If the model is a classifier, it will return
a Mat with samples + 1 rows, where the first row gives the class number and the
following rows return the votes each class had for each sample.
Namespace:
Emgu.CV.ML
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic void GetVotes(
IInputArray samples,
IOutputArray results,
DTreesFlags flags
)
Public Sub GetVotes (
samples As IInputArray,
results As IOutputArray,
flags As DTreesFlags
)
public:
void GetVotes(
IInputArray^ samples,
IOutputArray^ results,
DTreesFlags flags
)
member GetVotes :
samples : IInputArray *
results : IOutputArray *
flags : DTreesFlags -> unit
Parameters
- samples
- Type: Emgu.CVIInputArray
Array containing the samples for which votes will be calculated. - results
- Type: Emgu.CVIOutputArray
Array where the result of the calculation will be written. - flags
- Type: Emgu.CV.MLDTreesFlags
Flags for defining the type of RTrees.
See Also