| Class | RubyFann::Neurotica |
| In: |
lib/ruby_fann/neurotica.rb
|
| Parent: | Object |
Generates directed graph from a RubyFann neural network. Requires the GraphViz gem 0.8.0 (or higher) to be installed, as well as graphviz proper 2.14.1 (or higher).
| connector_colors | [RW] | |
| hidden_layer_colors | [RW] | |
| input_layer_color | [RW] | |
| output_layer_color | [RW] |
Initialize neurotica grapher with the following args:
:connector_colors - array of graphviz-friendly color names/numbers :input_layer_color - graphviz-friendly color name/number :hidden_layer_colors - array of graphviz-friendly color names/numbers :output_layer_color - graphviz-friendly color name/number
Generate output graph with given neural network to the given output path (PNG)
If args[:three_dimensional] is set, then a 3d VRML graph will be generated (experimental)