| getVotes (cv.RTrees) - MATLAB File Help |
Returns the result of each individual tree in the forest
votes = model.getVotes(samples)
votes = model.getVotes(..., 'OptionName',optionValue, ...)
In case the model is a regression problem, the method will
return each of the trees' results for each of the sample cases,
i.e nsamples-by-ntrees matrix.
If the model is a classifier, it will return a matrix with
nsamples + 1 rows, where the first row gives the class number
and the following rows return the votes each class had for each
sample, i.e (nsamples+1)-by-nclasses matrix.
| Access | public |
| Sealed | false |
| Static | false |