A NEAT package
Project description
neatly
NOTE: neatly is not yet functional
neatly is a package designed to facilitate the implementation of NeuroEvolution of Augmenting Topologies (NEAT) in Python.
Installation
neatly can be installed with pip via:
pip install neatly
Usage/Example
Configuration
When using neatly, although a config file isn't strictly necessary, it's highly highly recommended that you use one to streamline neatly's implementation process. In the same folder as the python file that is using neatly functions, create a config.toml
file. To get started, simply copy-paste this in:
i_count = 2 # Number of inputs
o_count = 1 # Number of outputs
pop_size = 30 # Population size of a single generation
This is an extremely basic config.toml
file, but it gets the job done. Feel free to adjust the default values in order to steer neatly in the direction of your desired network/structure. There are many other useful parameters that can (and should) be tweaked, so make sure to check out
Hello, world!
Here's an example of how to implement a very simple neatly network:
import neatly
# Initialize a population and sort into a list of extant species
pop = neatly.initialize_population()
almanac = neatly.speciate(pop)
For more details and tutorials, see
Contributing
To be completely honest, I don't know why anybody would want to contribute to this pile of hot garbage, and I don't really know how contributing works, but if you're interested email me.
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
Hashes for neatly-0.0.21.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cffb53ecb52b586e87980625d788bf8ce95c20273743273e17897c13352be956 |
|
MD5 | 72dca1370a23ef6ae59eb674035220ee |
|
BLAKE2b-256 | c3c0a06829175218e27676cc2f3e44449db84833edcdb3cbc6ef2a3b0e328818 |