Search code examples
machine-learningtreeclassificationwekaj48

How visualize j48 tree in weka


I have an output tree in weka but can't view it (right click ...). Is there a tool to generate the resulting tree in an understandable way from the copy of the log (figures)?

tree results log


Solution

  • The above textual representation cannot be converted into other formats, unless you write your own parser.

    However, if you use the -g option on the command-line, the tree will get output on stdout in dot-notation. You can then take this output and convert it into other formats, like PNG or PDF using the GraphViz software.