TreeBagger-Matlab2Cpp

Version 1.0.1.0 (9.82 KB) by David
Takes a decision tree trained in Matlab using TreeBagger and converts it to a C++ class.
202 Downloads
Updated 29 Jun 2017

This program takes a decision tree trained in Matlab using TreeBagger or the classification tree function ClassificationTree and outputs the header file decTreeConstants.h containing all the branch information. This header file is used by the attached C++ class to make decisions based on presented features in deployed applications.

Cite As

David (2025). TreeBagger-Matlab2Cpp (https://github.com/dhasenfratz/TreeBagger-Matlab2Cpp), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.1.0

-

1.0.0.0

-

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.