Class RubyFann::Neurotica
In: lib/ruby_fann/neurotica.rb
Parent: Object
TrainData Standard Neurotica Shortcut VERSION RubyFann dot/f_7.png

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

Methods

graph   new  

Attributes

connector_colors  [RW] 
hidden_layer_colors  [RW] 
input_layer_color  [RW] 
output_layer_color  [RW] 

Public Class methods

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

Public Instance methods

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)

[Validate]