Skip to main content

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

MIT

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

neatly-0.0.21.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neatly-0.0.21.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file neatly-0.0.21.3.tar.gz.

File metadata

  • Download URL: neatly-0.0.21.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for neatly-0.0.21.3.tar.gz
Algorithm Hash digest
SHA256 73e6bb8902a47d1ab83560a363747239391b3db59558b9c206e415edd964f5f3
MD5 05c88cf0e267d2c2f40007277cfa9b7b
BLAKE2b-256 e5adc53c1f9880252b45ff704322da4bc06815e58b453b7d3300fe2cab7eacbb

See more details on using hashes here.

File details

Details for the file neatly-0.0.21.3-py3-none-any.whl.

File metadata

  • Download URL: neatly-0.0.21.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for neatly-0.0.21.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cffb53ecb52b586e87980625d788bf8ce95c20273743273e17897c13352be956
MD5 72dca1370a23ef6ae59eb674035220ee
BLAKE2b-256 c3c0a06829175218e27676cc2f3e44449db84833edcdb3cbc6ef2a3b0e328818

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