Evolvable neural network core for integration with EvoLib
Project description
EvoNet
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, transparency, and didactic value.
Features
- Layer-based but flexible – allows skip connections, cycles, and recurrent paths
- Typed neuron roles and connection types (
NeuronRole,ConnectionType) - Topology-aware mutation system – add/remove neurons and connections, mutate weights, change activations
- Per-neuron activation functions – configurable, extensible, evolvable
- 1-step recurrent state logic – avoids multi-pass stabilization
- Topology can grow at runtime – with
add_neuron,add_connection,split_connection - Debug-friendly architecture – explicit IDs, labels, roles, directional graphs
- Designed for evolutionary learning – mutation, crossover, speciation ready
- Lightweight & extensible – pure Python, NumPy-based, no hard dependencies
⚠️ This project is in early development (alpha). Interfaces and structure may change.
Quick Example
from evonet.core import Nnet
net = Nnet()
net.add_layer() # Input
net.add_layer() # Output
net.add_neuron(layer_idx=0, activation="linear", lable="in")
net.add_neuron(layer_idx=1, activation="linear", bias=0.5, lable="out", connect_layer=True)
print(net.calc([1.0]))
License
MIT License - see MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evonet-0.1.0.dev22.tar.gz.
File metadata
- Download URL: evonet-0.1.0.dev22.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9344b888894892bba67ed9de0478d4a0dcafeb12ac9969d3a7594bdd2cab514
|
|
| MD5 |
e36955dc6b06ae40df610c6ed14020d4
|
|
| BLAKE2b-256 |
9ab15cbd31a2347b7edffbbb758b432e4c74ae1b2a27fc8639fe029eceeab140
|
File details
Details for the file evonet-0.1.0.dev22-py3-none-any.whl.
File metadata
- Download URL: evonet-0.1.0.dev22-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3835b95c0122954145a31971283d65ed9fd16d2a5642843c2d10e8ab8cd8f047
|
|
| MD5 |
640f6ae2f4e7128b5b052b9f20891113
|
|
| BLAKE2b-256 |
af65b9544f2bdc8efe0f3748265afd1ada0dfa45cfeb7dd118eb50f5b628aa64
|