#ann #evolution


Algorithms to evaluate the function encoded in ANN-like structures

14 releases

0.6.4 Aug 11, 2023
0.6.2 May 13, 2023
0.5.2 Apr 2, 2022
0.5.0 Mar 31, 2022
0.3.0 Jul 23, 2021

#405 in Algorithms

Download history 98/week @ 2023-08-10 52/week @ 2023-08-17 37/week @ 2023-08-24 36/week @ 2023-08-31 44/week @ 2023-09-07 8/week @ 2023-09-14 25/week @ 2023-09-21 11/week @ 2023-09-28 25/week @ 2023-10-05 36/week @ 2023-10-12 59/week @ 2023-10-19 30/week @ 2023-10-26 12/week @ 2023-11-02 59/week @ 2023-11-09 9/week @ 2023-11-16 25/week @ 2023-11-23

106 downloads per month
Used in set_genome

MIT license

1.5K SLoC

favannat (FAbricate and eVAluate Neural Networks of Arbitrary Topology)

Crate is functional but still in early development.


This crates aims to provide some semantics and data structures that allow to turn a somewhat generic description of a neural net into some executable function.

Therefore it provides the "network" termes like "node" and "edge" and a roughly sketched interface to execute nets; namely the "Fabricator" trait and the "Evaluator" trait.

Further it provides one implementation of those traits.


Only DAGs (directed, acyclic graphs) can be evaluated, which is by design. It is planned to implement logic to unroll recurrent networks into DAGs.


Any thoughts on style and correctness/usefulness are very welcome. Different implementations of the "Fabricate/Evaluate" traits are appreciated.


This crate allows to evaluate anything that implements the network::NetworkLike trait.

See network::net for an examplatory implementation.

Networks accept any value that implements the network::NetworkIO trait.

The feature ndarray implements NetworkIO from ndarray::Array1 when enabled.


~66K SLoC