I have created a decision tree in Weka. I now want to calculate a prediction (with this model) in matlab and visualize the result nicely in the tree. But I haven't been able to find a good way to draw the tree and the results from the instance on it.
Should I draw it as a flow chart? is there an out of the box way to do this? Could I calculate C4.5 in Matlab and would it already draw the tree?
You can visualize the tree directly from Weka: Visualizing Weka classification tree
Then, you can ask Weka to print the tree and you can copy and parse the structure elsewhere. Think of the structure as some kind of nested if/then/elses, will be something like this:
...