- 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!