Rust NEAT
Implementation of NeuroEvolution of Augmenting Topologies NEAT http://nn.cs.utexas.edu/downloads/papers/stanley.ec02.pdf
This implementations uses a Continuous-Time Recurrent Neural Network (CTRNN) (Yamauchi and Beer, 1994).
Run test
To speed up tests, run them with --release
(XOR classification/simple_sample should take less than a minute)
cargo test --release
Run example
cargo run --release --example simple_sample --features=telemetry
then go to http://localhost:3000
to see how neural network evolves
Sample usage
Create a new cargo project:
Add rustneat to Cargo.toml
[dependencies]
rustneat = "0.1.5"
Then use the library i.e. to implement the above example, use the library as follows:
extern crate rustneat;
use Environment;
use Organism;
use Population;
;
Develop
Check style guidelines with:
rustup component add rustfmt-preview
cargo fmt -- --write-mode=diff
Thanks
Thanks for the icon nerves by Delwar Hossain from the Noun Project