TreeBagger: How do I view entire tree or the list of logical steps? (Not same as with fitctree)
1 次查看(过去 30 天)
显示 更早的评论
Hi, TreeBagger: How do I view entire tree or the list of logical steps? (Not same as with fitctree)
I used: t=TreeBagger(30,x,y,'OOBPred','On','Method','Classification','MinLeaf',10)
per an answer in the history, I used: view(t.Trees{1:30}) to see a list of logical steps, but the list does not appear to summarize 30 trees, but rather just 1.
I am interested in seeing: * Graph of all trees together - possible? * List of logical steps for entire series of trees
Point is I want to code an algorithm that matches the tree, but I need to see the steps.
Thanks!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!