/neuroevolution_in_elixir

Code from Handbook of Neuroevolution Through Erlang translated to Elixir

Primary LanguageElixir

Neuroevolution In Elixir

I'm currently reading Handbook of Neuroevolution Through Erlang and learning a lot. In it are examples showing how to build neural nets with Erlang. In order to drive home what I'm learning and to learn the Elixir syntax I'm translating the Erlang code to Elixir as I go.

Simple Neuron

iex -S mix
SimpleNeuron.create
SimpleNeuron.sense [1,2]

Simplest NN

iex -S mix
SimplestNN.create
send :cortex, :sense_think_act

FFNN

iex -S mix
FFNN.Constructor.construct_genotype("/tmp/ffnn.terms", :rng, :pts, [1,3])
FFNN.Exoself.map("/tmp/ffnn.terms")