This code generates a .dot file that Graphviz compile and plots Hoeffding-based Trees from MOA.
-
install [Graphviz](https://graphviz.org/download/)
-
insert the HoeffdingTreeVisualizer into MOA(https://moa.cms.waikato.ac.nz/tutorial-6-building-moa-from-the-source/) classifiers/trees folder
-
run Main
-
put the output into a .dot file
-
run the following command:
dot -Tpng .\tree.dot -o tree.png
-
For numerical attributes, left means True (<=) and right means False (>)
-
For nominal attibutes, all the adjacencies means the attribute values in order (from 0 to n attribute values)