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

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev23.tar.gz
  • Upload date:
  • Size: 24.3 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.dev23.tar.gz
Algorithm Hash digest
SHA256 e698aa831158dd11e1b78bb746c27b066c9ee4369c37548039e58f80b577a67c
MD5 0f4dbb243b2155c52c50d3ebf49a8058
BLAKE2b-256 b61a533d1509798417d70082cd5319b4f6ea36b100fd4d83500cd5f7b034b661

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev23-py3-none-any.whl
  • Upload date:
  • Size: 27.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.dev23-py3-none-any.whl
Algorithm Hash digest
SHA256 2c261fe55aa8335499d295fb9fca67ba1d539d342c2a7e8fa3f9a423bee1797c
MD5 9a13727bc20641ac83c375a237522fb6
BLAKE2b-256 5c20f38b0946ad8f25aed74f75e0d3279cf09e9470c4189b52a59b10b5ae1616

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