Skip to content

Code for plotting trees from MOA. This code generates a .dot file that Graphviz compiles and plots the tree.

Notifications You must be signed in to change notification settings

danielnowakassis/MOA-Trees-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

MOA Hoeffding Trees Visualizer

This code generates a .dot file that Graphviz compile and plots Hoeffding-based Trees from MOA.

How to run

  •   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

Interpret the tree plot

  •   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)
    

About

Code for plotting trees from MOA. This code generates a .dot file that Graphviz compiles and plots the tree.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages