Method GetVotes
- Namespace
- OpenCvSharp.ML
- Assembly
- OpenCvSharp.dll
GetVotes(InputArray, OutputArray, int)
Returns the class probabilities for each sample, as voted by each of the trees.
public void GetVotes(InputArray samples, OutputArray results, int flags)
Parameters
samplesInputArrayArray containing the samples for which votes will be calculated.
resultsOutputArrayArray where the result of the calculation will be written.
flagsintFlags for defining the type of RTrees.