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

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev27.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.dev27.tar.gz
Algorithm Hash digest
SHA256 74023edeeb847e5276ae4a21640b3f7408abe3436c14441339c3b3904ba58224
MD5 2381713fe0f282b61f908265213ca1fb
BLAKE2b-256 550996f5c36edf90a889d3225374e2522124e7442e91b484ff8e9c7f442a4654

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev27-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.dev27-py3-none-any.whl
Algorithm Hash digest
SHA256 57234afc182298315edc32c38b4a498faf1fc0b5abccc9321f00e83f87d91865
MD5 885e51b52f72c96d70a9075ced7214e4
BLAKE2b-256 228593aec5a380d5efc98a6fad28a1ff9a4c90bd8f0786ec4df156aed3d738d9

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