Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 922 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 922 Bytes

AGRN.jl

Artificial Gene Regulatory Networks and their evolution, in Julia

Installation

In the Julia REPL, call

> Pkg.checkout("https://github.com/d9w/AGRN.jl.git")

Testing

Tests are provided to demonstrate use. To run all tests, simply call

$ julia run_tests.jl

Usage

Unless you're making changes to the AGRN model, it's recommended to run in the Julia REPL to avoid compilation on each call. An example script using the OpenAI gym benchmark set has been provided. This script can take some time to compile due to the use of the PyCall.jl library. If you are missing python packages for running this script, check out the Conda.jl package.

> include("example.jl");
> fitness = get_fitness("MountainCarContinuous-v0");
> config = AGRN.Config();
> maxfit, best = evolve(fitness, config)