write_to_dot(x, con = stdout(), ...)
"write_to_dot"(x, con = stdout(), ...)dot makes hierarchical or layered drawings of
directed graphs, and hence is typically most suitable for visualizing
classification trees. Using dot, the representation in file foo.dot can be
transformed to PostScript or other displayable graphical formats using
(a variant of) dot -Tps foo.dot >foo.ps.
Some Weka classifiers (e.g., tree learners such as J48 and M5P)
implement a Drawable interface providing DOT representations
of the fitted models. For such classifiers, the write_to_dot
method writes the representation to the specified connection.