Table of Contents

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

samples InputArray

Array containing the samples for which votes will be calculated.

results OutputArray

Array where the result of the calculation will be written.

flags int

Flags for defining the type of RTrees.