Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TreeBagger (Random Forests) Parameters in MATLAB

When I compared the Random Forest implementation of MATLAB (TreeBagger class) with the OpenCV implementation (Random Trees class), I found that several parameters that are present in the latter were not present in the former.

The parameters of interest are the maximum depth of the trees (max_depth), and max_categories.

Does anyone know how to access these parameters in MATLAB?

like image 592
WildThing Avatar asked Aug 12 '26 15:08

WildThing


1 Answers

These parameters are not available in the MATLAB implementation of bagged decision trees, TreeBagger.

like image 79
Sam Roberts Avatar answered Aug 15 '26 05:08

Sam Roberts



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!