https://github.com/fracpete/graphviz-treevisualize-weka-package
TreeVisualize plugin for the Weka Explorer using GraphViz (http://www.graphviz.org/) to generate the tree.
https://github.com/fracpete/graphviz-treevisualize-weka-package
java machine-learning plugin visualization weka
Last synced: about 1 year ago
JSON representation
TreeVisualize plugin for the Weka Explorer using GraphViz (http://www.graphviz.org/) to generate the tree.
- Host: GitHub
- URL: https://github.com/fracpete/graphviz-treevisualize-weka-package
- Owner: fracpete
- License: gpl-3.0
- Created: 2014-08-01T07:01:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-04-13T01:42:46.000Z (about 4 years ago)
- Last Synced: 2024-10-19T12:15:57.007Z (over 1 year ago)
- Topics: java, machine-learning, plugin, visualization, weka
- Language: Java
- Homepage:
- Size: 16.2 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# graphviz-treevisualize-weka-package
TreeVisualize plugin for the Explorer using GraphViz (http://www.graphviz.org/)
to generate the tree.
By default, the plugin expects the `dot` executable to be available on the
system path. If that should not be the case, you can specify the correct
location in the `GraphVizTreeVisualization.props` properties file.
Simply create the following file:
* Linux/Mac
```
$HOME/wekafiles/props/GraphVizTreeVisualization.props
```
`
* Windows
```
%USERPROFILE%\wekafiles\props\GraphVizTreeVisualization.props
```
And add the following content (adjust path, of course):
* Linux/Mac
```
Executable=/some/where/dot
```
* Windows
```
Executable=C:/Progam Files/some/where/dot.exe
```
Additional options for the executable can be specified with the
`AdditionalOptions` property in the same properties file.
## GraphVizTreeVisualization.props
Explanation of parameters:
* `Executable` -- the path to the executable, if not on the system path
* `AdditionalOptions` -- additional options to supply to the `dot` executable
* `ImageExtension` -- comma-separated list of image extensions to offer in the save dialog
* `Debug` -- whether to output debugging information
* `CleanUpTempFiles` -- whether to clean up temporary files
* `DialogWidth` -- the default width of the dialog displaying the graph
* `DialogHeight` -- the default height of the dialog displaying the graph
## Releases
* 2022.4.13 ([Weka >= 3.9.1](https://github.com/fracpete/graphviz-treevisualize-weka-package/releases/download/v2022.4.13/graphviz-treevisualize-2022.4.13-3.9.x.zip), [Weka >= 3.8.1](https://github.com/fracpete/graphviz-treevisualize-weka-package/releases/download/v2022.4.13/graphviz-treevisualize-2022.4.13-3.8.x.zip))
* 2018.5.13 ([Weka >= 3.9.1](https://github.com/fracpete/graphviz-treevisualize-weka-package/releases/download/v2018.5.13/graphviz-treevisualize-2018.5.13-3.9.x.zip), [Weka >= 3.8.1](https://github.com/fracpete/graphviz-treevisualize-weka-package/releases/download/v2018.5.13/graphviz-treevisualize-2018.5.13-3.8.x.zip))
* [2017.3.3](https://github.com/fracpete/graphviz-treevisualize-weka-package/releases/download/v2017.3.3/graphviz-treevisualize-2017.3.3.zip) (Weka >= 3.9.1)
* [2014.8.1](https://github.com/fracpete/graphviz-treevisualize-weka-package/releases/download/v2014.8.1/graphviz-treevisualize-2014.8.1.zip) (Weka >= 3.7.11 and < 3.8.1 and < 3.9.1)
### Troubleshooting
You can use the *2014.8.1* release with Weka 3.8.1 or 3.9.1, but you need to
create the `GraphVizTreeVisualization.props` properties file in the location
explained above and add the following parameter to it (you may also have to
add the `Executable` parameter):
```
AdditionalOptions=-Tpng
```
The new class loading mechanism in these Weka releases prevents the properties
file from being loaded and graphviz not getting an output type parameter in
its command-line, resulting in outputting the graph data again (which of course
will fail to load as an image, see issue [#3](https://github.com/fracpete/graphviz-treevisualize-weka-package/issues/3)).
## How to use packages
For more information on how to install the package, see:
https://waikato.github.io/weka-wiki/packages/manager/
## Maven
Add the following dependency in your `pom.xml` to include the package:
```xml
com.github.fracpete
graphviz-treevisualize-weka-package
2022.4.13
jar
nz.ac.waikato.cms.weka
weka-dev
```
## Screenshots
### Plugin menu

### Show graph
For the displaying the graph as an image:

### Save graph data
Allows you to save the graph as `.dot` text file:

### Save graph image
Allows you to save the graph as PNG image:

### Export graph
Here you can export the graph as PDF, Postscript or encapsulated Postscript:
