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, 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


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

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev21.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

Hashes for evonet-0.1.0.dev21.tar.gz
Algorithm Hash digest
SHA256 f950c70403269b8ba9b177ff5d8126387abc4abb20dbe3bb46945c904082a54b
MD5 e801895b3d05335ba8bdd29b024f8f6d
BLAKE2b-256 5593c6ea534b23c1f6a60a5091449354e34183a624605e1c97756305c8f05ace

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev21-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

Hashes for evonet-0.1.0.dev21-py3-none-any.whl
Algorithm Hash digest
SHA256 9125d65df48f202ddc84d7810cde989986f86dc6d8ddbaff924bb22dd3dc9009
MD5 3969317ca841415d3dfc823ed26fb748
BLAKE2b-256 0c7ebe46d48ea7d422707a9e9b86d66b87726b959137354be5426092b2b1a46c

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