- Structures: http://www.mathworks.com/help/matlab/ref/struct.html
- Cell arrays: http://www.mathworks.com/help/matlab/cell-arrays.html
- Classes: http://www.mathworks.com/help/matlab/ref/classdef.html
What is the best matlab data structure to represent a decision tree?
6 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Jordan Ross
2016-9-21
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
0 个评论
更多回答(1 个)
Steven Lord
2016-9-21
1 个评论
Rik
2021-9-1
It seems the link is dead (for newer releases) due to the split into separate classification trees and regression trees pages.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!