How to Interpret Decision tree into IF-THEN rules in matlab
2 次查看(过去 30 天)
显示 更早的评论
I can easily generate a decision tree from the following code:*BOLD TEXT*
load fisheriris;
t = classregtree(meas,species,'names',{'SL' 'SW' 'PL' 'PW'});
view(t);
But I could not found any way to interpret the tree t into a matrix through which I could make IF-THEN rules so that the antencident and decendent could be used for fuzzification process. Can anyone please help me in this regard..
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!