EasyGA is a python package designed to provide an easy-to-use Genetic Algorithm. The package is designed to work right out of the box, while also allowing the user to customize features as they see fit.
Project description
EasyGA - Genetic Algorithms made Easy
EasyGA is a python package designed to provide an easy-to-use Genetic Algorithm. The package is designed to work right out of the box, while also allowing the user to customize features as they see fit.
Check out our wiki for more information.
Installation:
Run python's pip3 to install:
pip3 install EasyGA
Getting started with EasyGA:
import EasyGA
# Create the Genetic algorithm
ga = EasyGA.GA()
# Evolve the whole genetic algorithm until termination has been reached
ga.evolve()
# Print out the current generation and the population
ga.print_generation()
ga.print_population()
Output:
Current Generation : 15
Current population:
Chromosome - 0 [7][4][4][5][3][5][5][8][3][7] / Fitness = 3
Chromosome - 1 [7][4][4][5][3][5][5][8][3][7] / Fitness = 3
Chromosome - 2 [7][4][4][5][3][5][5][8][3][7] / Fitness = 3
Chromosome - 3 [7][4][4][5][3][5][5][8][3][7] / Fitness = 3
Chromosome - 4 [7][2][4][5][3][5][5][8][3][7] / Fitness = 3
Chromosome - 5 [7][2][4][5][3][5][5][8][3][7] / Fitness = 3
Chromosome - 6 [5][8][8][6][10][10][5][7][2][7] / Fitness = 2
Chromosome - 7 [5][8][8][6][10][10][5][7][2][7] / Fitness = 2
Chromosome - 8 [5][8][8][6][10][10][5][7][2][7] / Fitness = 2
Chromosome - 9 [7][2][8][10][3][5][5][8][1][7] / Fitness = 2
Issues
We would love to know if your having any issues. Please start a new issue on the Issues Page.
Local System Approach
Download the repository to some folder on your computer.
https://github.com/danielwilczak101/EasyGA/archive/master.zip
Use the run.py file inside the EasyGA folder to run your code. This is a local version of the package.
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
File details
Details for the file EasyGA-1.5.2.tar.gz
.
File metadata
- Download URL: EasyGA-1.5.2.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc48ce528939badfd8d62ec8a8a2dbdef4f776ab29cafedbd8b7fbb6f8dcf2d |
|
MD5 | 925780516c4baec0ed4b208e43cc1f9e |
|
BLAKE2b-256 | 7abca31f1d27e9e42e234df4a91c78a4c223fc9b4cc952c4dd43bf962bf3c3dd |
File details
Details for the file EasyGA-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: EasyGA-1.5.2-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92de416ea6ef1c8b48fb19da0eff966f19d998d9f02bbee819ae7c7261c9a8c |
|
MD5 | 7be1e4af29a9ea841c17ba63fe479c8a |
|
BLAKE2b-256 | f2ffcc29c91c2e9e333e33b408fdc7e0cce89ad91e4f8fc1bf16f3d68efedbab |