Random Forest

Creates an ensemble of cart trees similar to the matlab TreeBagger class.

You are now following this Submission

An alternative to the Matlab Treebagger class written in C++ and Matlab.

Creates an ensemble of cart trees (Random Forests). The code includes an implementation of cart trees which are
considerably faster to train than the matlab's classregtree.

Compiled and tested on 64-bit Ubuntu.

Cite As

Leo (2026). Random Forest (https://www.mathworks.com/matlabcentral/fileexchange/31036-random-forest), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: getargs.m

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.7.0.0

Fixed bug (see comment by c.)

1.6.0.0

Removed implicit assumption of distinct feature values, removed statistical toolbox dependency, removed internal command dependency

1.0.0.0