Sha256: 844b68beefe615af04efd8c1d2423f4c87166d59eac5fa211d8da5a628c5f447
Contents?: true
Size: 941 Bytes
Versions: 1
Compression:
Stored size: 941 Bytes
Contents
# @title Visualization # Visualization *Evoasm* provides means to visualize loss functions and found programs. {include:file:docs/examples/vis.rb} ## Loss Functions Loss functions can be visualized by using {Evoasm::Population#plot} which will plot the loss function using [Gnuplot](https://gnuplot.sourceforge.net/). If a filename is provided, the loss function graph is saved to file. Otherwise, a window will open. Each column represents a deme. The first row shows program losses, the following rows kernel losses. ![Loss functions](examples/loss.gif) ## Programs In a similar fashion, programs can be visualized using [Graphviz](https://www.graphviz.org/). Use {Evoasm::Program#to_gv} to obtain a [GV::Graph](http://www.rubydoc.info/github/furunkel/gv/GV/Graph), which can be saved to a file using [GV::Graph#save](http://www.rubydoc.info/github/furunkel/gv/GV/Graph#save-instance_method). ![Function](examples/program.png)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evoasm-0.1.0.pre2 | docs/Visualization.md |