Installation

View Source

Add macula_tweann to your rebar.config:

{deps, [
    {macula_tweann, "~> 0.8.8"}
]}.

Then fetch dependencies:

rebar3 compile

Mix (Elixir Projects)

Add to your mix.exs:

def deps do
  [
    {:macula_tweann, "~> 0.8.8"}
  ]
end

Then fetch dependencies:

mix deps.get

From Source

Clone the repository:

git clone https://github.com/macula-io/macula-tweann.git
cd macula-tweann
rebar3 compile

Requirements

  • Erlang/OTP 24 or later
  • Mnesia (included with Erlang)

Verify Installation

Start an Erlang shell and initialize the database:

rebar3 shell

% In the shell:
genotype:init_db().
% => ok

If you see ok, the installation is successful!

Next Steps

See the Quick Start guide to create your first evolving neural network.