Random tree in opencv 3.3

asked 2018-01-03 09:31:15 -0600

waschbaer gravatar image

updated 2018-01-03 09:52:46 -0600


I am wondering whether one can realise random tree(notice this is not plural) using the class cv::ml::DTrees?

And my second question is: cv::ml::RTrees is a realisation of random forest using decision tree or a random tree (notice here is a single tree)? Or actually one can set some parameters to choose?

Thrid questions: How to realize DTrees(plural) using cv::ml::DTrees? I mean I know creat(), but it seems like this will only generate a single decision tree, not a bunch of trees, however we should notice DTrees is defined with "s", which means it is a plural, and getRoots() also indicate that multiple roots is possible.


edit retag flag offensive close merge delete