- 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?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Kunal Roy
el 17 de Sept. de 2016
Comentada: Rik
el 1 de Sept. de 2021
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 comentarios
Respuesta aceptada
Jordan Ross
el 21 de Sept. de 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
0 comentarios
Más respuestas (1)
Steven Lord
el 21 de Sept. de 2016
1 comentario
Rik
el 1 de Sept. de 2021
It seems the link is dead (for newer releases) due to the split into separate classification trees and regression trees pages.
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!