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.dev24.tar.gz (24.5 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.dev24-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev24.tar.gz
  • Upload date:
  • Size: 24.5 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.dev24.tar.gz
Algorithm Hash digest
SHA256 aa545b5c4469f41c147230d6b7c1a3425a0f90e67ea8e6963e460c28e007971e
MD5 6cb320721fbb365cebbb4339822e8c40
BLAKE2b-256 29dd5be08be3ae899a8aa20bc321dc791cd4d73108e8a89f5ee3805659260f68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evonet-0.1.0.dev24-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.dev24-py3-none-any.whl
Algorithm Hash digest
SHA256 b425868a6e863ef637b25bc86460b444229e392339efd4cd4fca38e77e6be4f6
MD5 8a1e6aaafb22d781a5ed00e957f5b63d
BLAKE2b-256 9a5b1b98871ddd97edf8f8df8bd841de3ce2dff2a8bd1b68c05ffbfbce7007ba

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