How to Interpret Decision tree into IF-THEN rules in matlab

2 views (last 30 days)
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..

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!