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

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev25.tar.gz
  • Upload date:
  • Size: 25.6 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.dev25.tar.gz
Algorithm Hash digest
SHA256 e4593d43581cdf8a76bf5d8fb8b231ee7cbbd68bc571184e9bf6d7c08cfdf9a2
MD5 aa9dba53e3e5aaa8ef6300dea71a77c6
BLAKE2b-256 ba1a73afea8b45dff9462ba81447ce939a9ecdbe1a08d9ddef1d64e6806a3a72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev25-py3-none-any.whl
  • Upload date:
  • Size: 28.1 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.dev25-py3-none-any.whl
Algorithm Hash digest
SHA256 781b3501375e0f4e471f319888260156478bf1e7a6fae4165add473b4cf00c14
MD5 b5215f0c7578556fc63824ebc95f0cb8
BLAKE2b-256 e689665dae5fd2c53fc056ad254de20dc1aa9e8a03945ae5d8085d5850245aaa

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