Skip to main content

Evolvable neural network core for integration with EvoLib

Project description

EvoNet

Code Quality & Tests License: MIT Project Status: Beta

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.tar.gz
  • Upload date:
  • Size: 26.8 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.tar.gz
Algorithm Hash digest
SHA256 ec5c3ca55064a917a5500203bdda72792c9f27898c361bd5ee37dbf87f0e8705
MD5 240df9b6f800fa57dc65e040a7f1e39f
BLAKE2b-256 37ceee33813cc41b3bab2550c32a538a28fcd01b06126b811c7bae1d885b4137

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.9 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-py3-none-any.whl
Algorithm Hash digest
SHA256 6958f4833308ceaeb07ea3c9d3675a70d276a562aafbe86bdad5f7cf2c458b8b
MD5 53f10ea69aec0eeaa441252a184af493
BLAKE2b-256 8965ed8f7dc6c6ecad7cb30e746732897d7ba11d2ccb747359b80e148804a6aa

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