2016-02-29 23:45:48 -0600 | asked a question | How to obtain probability estimates from RTrees classifier in OpenCV 3.x? I am using OpenCV's implementation of Random Forests to classify some data. It appears to be working well, but I would like to obtain confidence values for the different classes. The output of For example, scikit-learn provides this information in is The predicted class probabilities of an input sample is computed as the mean predicted class probabilities of the trees in the forest. The class probability of a single tree is the fraction of samples of the same class in a leaf. |