What is the best matlab data structure to represent a decision tree?

8 views (last 30 days)
I want to be able to access the level of the tree and the number of nodes and the information of the nodes after a split. What is the best data structure to use?
Please explain in some detail and in simple terms. I am new to matlab.

Accepted Answer

Jordan Ross
Jordan Ross on 21 Sep 2016
Hi Kunal,
MATLAB offers several resources more creating data structures such as a tree. Some useful resources I can suggest are:
I would also suggest taking a look at the MathWorks documentation for object-oriented programming in MATLAB: http://www.mathworks.com/help/matlab/object-oriented-programming.html

More Answers (1)

Steven Lord
Steven Lord on 21 Sep 2016
I'm partial to the ones included in Statistics and Machine Learning Toolbox.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!