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.dev26.tar.gz (26.7 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.dev26-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev26.tar.gz
  • Upload date:
  • Size: 26.7 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.dev26.tar.gz
Algorithm Hash digest
SHA256 16207b4b68964b6f6c0c78b18462e4acd5c4001588a749cd3672aebe5c28f9c4
MD5 74a67f69a946e64a574023369bc56790
BLAKE2b-256 0b9ad00276278c88b01b391224cb23bdb818092de3a5ffccd02c3be9c8cfc331

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev26-py3-none-any.whl
  • Upload date:
  • Size: 28.8 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.dev26-py3-none-any.whl
Algorithm Hash digest
SHA256 ae3ee3310b0048e5b6370327f4b67696474e69dc7b6efe9ab6b8e2a7cda6771f
MD5 0dee1d7f27b61f995d7b42f98511da96
BLAKE2b-256 c7bafbcbc8bf45617d0bda09fed4b9bc98339f8d266876f4f946765597e34b79

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