Skip to main content

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 !.

    • gaDisc
    • gaCont

Open to ideas , and contributions !

Metadata

Release files for ga2 1.0.0.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ga2 1.0.0.post1
File Size Uploaded
ga2-1.0.0.post1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ga2 1.0.0.post1
File Interpreter ABI Platform
ga2-1.0.0.post1-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / ga2-1.0.0.post1.tar.gz

Download URL ga2-1.0.0.post1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d9e6621b0f108f7bbd15c687d644888d38c505cb4c0637acd95478e656d94ab0
BLAKE2b-256 checksum
How to use checksums
0a709d95772c8d52111e5a159a701a3d9f71b91832dbd8091ab7255cb7367c22
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ga2-1.0.0.post1-py3-none-any.whl

Download URL ga2-1.0.0.post1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6430de94fd23c6007f8570d4c76f17eae7c8ad5b42d18e1cd925bea145d99776
BLAKE2b-256 checksum
How to use checksums
0308b26d4cfa191d08bfcff037d4659da90835390ceb016b84ef9d7892dbe4c7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0.post1 This release

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page