Skip to main content

A simple robust Genetic Algorithm utility

Project description

Genetic Algorithm Utility for python

What is Genetic Algorithm ?

Genetic Algorithm is inspired by the natural selection process in our environment. GA is very good for optimisation problems , read more about GA here .

The ga2 module

ga2 is a highly flexible and easy to use utility module implementing Genetic Algorithm.

Installation

  • standard pip3 installation is supported
pip3 install ga2
  • upgrading
pip3 install --upgrade --no-cache ga2==1.0.0
  • import the Genetic Algorithm utility as
import ga2.gaDisc as gad

session1 = gad.Session()
print(session1.sessID)

this should print the session ID of that session

Usage

ga2 is designed to be flexible and also simple to use for a variety of use cases, check the EXAMPLES.md for examples. Documentation will be done as soon as a stable stage is reached

Current Development

gaDisc (Genetic Algorithm Discrete) is working and is in its first release stage, a lot of planning and designing needs to be done for gaCont (Genetic Algorithm continuous), which I hope will be soon !.

    • [x] gaDisc
    • [ ] gaCont

Open to ideas , and contributions !

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

ga2-1.0.0.post1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

ga2-1.0.0.post1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file ga2-1.0.0.post1.tar.gz.

File metadata

  • Download URL: ga2-1.0.0.post1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for ga2-1.0.0.post1.tar.gz
Algorithm Hash digest
SHA256 d9e6621b0f108f7bbd15c687d644888d38c505cb4c0637acd95478e656d94ab0
MD5 1017378da50e1c1657d30550b738ee50
BLAKE2b-256 0a709d95772c8d52111e5a159a701a3d9f71b91832dbd8091ab7255cb7367c22

See more details on using hashes here.

File details

Details for the file ga2-1.0.0.post1-py3-none-any.whl.

File metadata

  • Download URL: ga2-1.0.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for ga2-1.0.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 6430de94fd23c6007f8570d4c76f17eae7c8ad5b42d18e1cd925bea145d99776
MD5 0f7f9590f3960ef5a8a00c1226e2589c
BLAKE2b-256 0308b26d4cfa191d08bfcff037d4659da90835390ceb016b84ef9d7892dbe4c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page