visualize a tree and splitting point in TreeBagger
显示 更早的评论
Hi, Suppose I fit a TreeBagger with 2 column predictor variables X:
B = TreeBagger(1,X,y, 'Method','classification','NVarToSample',1,'oobpred','on')
I want to visualize any tree that I choose, and the splitting values. How can I do that? Thanks!
采纳的回答
更多回答(1 个)
Mohammad Abdulla
2018-7-5
0 个投票
Hi, How can I increase the number of iterations for fitting a decision tree or random forest? Also, how can I change the opimizer from Bayesian to other such as grid search
类别
在 帮助中心 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!