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

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.

 Akzeptierte Antwort

Jordan Ross
Jordan Ross am 21 Sep. 2016

0 Stimmen

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

Weitere Antworten (1)

Steven Lord
Steven Lord am 21 Sep. 2016

0 Stimmen

I'm partial to the ones included in Statistics and Machine Learning Toolbox.

1 Kommentar

It seems the link is dead (for newer releases) due to the split into separate classification trees and regression trees pages.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Sep. 2016

Kommentiert:

Rik
am 1 Sep. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by