Skip to main content

Evolvable neural network core for integration with EvoLib

Project description

EvoNet

Code Quality & Tests License: MIT Project Status: Alpha

EvoNet is a modular and evolvable neural network core designed for integration with EvoLib.
It supports dynamic topologies, recurrent connections, per-neuron activation, and structural evolution, with a strong emphasis on clarity and explicit behaviour.


Scope

EvoNet is not a state-of-the-art or general-purpose deep learning framework.

It does not aim to compete with libraries such as PyTorch, TensorFlow, or JAX in terms of performance, scalability, or training algorithms. Backpropagation, GPU acceleration, and highly optimised tensor operations are outside the scope of this project.

Instead, EvoNet is designed for evolutionary algorithms, structural mutation, and exploratory research, with a focus on transparent and explicit implementations rather than performance optimisation or feature completeness.

EvoNet should be understood as a conceptual and experimental model, not as a production-grade neural-network engine.


Features

  • Explicit, layer-based topology with support for skip connections, cycles, and recurrent paths
  • Typed neuron roles and connection types (NeuronRole, ConnectionType)
  • Topology-aware mutation operations: add/remove neurons and connections, mutate weights, change activations
  • Per-neuron activation functions, configurable and evolvable
  • Explicit 1-step recurrent state model, without iterative stabilisation passes
  • Runtime topology growth, e.g. via add_neuron and add_connection
  • Debug-friendly architecture with explicit neuron IDs, labels, roles, and directional graphs
  • Designed for evolutionary integration, not gradient-based training
  • Lightweight and extensible: pure Python, NumPy-based, no hard dependencies

⚠️ Project status: Alpha
Interfaces, APIs, and internal structure may change as the project evolves.


Quick Example

from evonet.core import Nnet

net = Nnet()
net.add_layer()  # Input layer
net.add_layer()  # Output layer

net.add_neuron(layer_idx=0, activation="linear", label="in")
net.add_neuron(layer_idx=1, activation="linear", bias=0.5, label="out")

print(net.calc([1.0]))

License

MIT License - see MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evonet-0.1.0.dev28.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evonet-0.1.0.dev28-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file evonet-0.1.0.dev28.tar.gz.

File metadata

  • Download URL: evonet-0.1.0.dev28.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for evonet-0.1.0.dev28.tar.gz
Algorithm Hash digest
SHA256 832885cb2eebf165df8f0208267eaf9b2eafeb6dbbd09cad3c5b584a87f3201b
MD5 506dfd129f9b37e468758096996914ac
BLAKE2b-256 a2cf8bc00d91fc3894ebaa49b79a17ec222d6d64ef55a6bb7bc7d35c0998ccfa

See more details on using hashes here.

File details

Details for the file evonet-0.1.0.dev28-py3-none-any.whl.

File metadata

  • Download URL: evonet-0.1.0.dev28-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for evonet-0.1.0.dev28-py3-none-any.whl
Algorithm Hash digest
SHA256 73e3c33cf1bc2a885b408e15c9196210918abc3af307f6f971d182b7f301dc88
MD5 a91109dd9507130b61a53088dbef87d2
BLAKE2b-256 96e56fba93a12e1ebc7ccf105baa2dabe147d628ca73b696b58c13cbce16c505

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page