Extracting decision split values from tree graph
2 次查看(过去 30 天)
显示 更早的评论
Hi All,
I am using treebagger for classification and plotted the tree graph. However, how do i extract/save values (766,4.35,2.11) from each node in the graph? Attached is the plot and below is my code:
Mdl= fitctree(Xtrain,Ytrain,'MaxNumSplits',4,'CrossVal','on');
view(Mdl.Trained{1},'Mode','graph')
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!