Initial evaluation for removing matplotlib and pytest as dependencies.

This commit is contained in:
2023-01-02 18:44:41 +01:00
parent e620321ef4
commit a107bdf69e
4 changed files with 121 additions and 102 deletions

View File

@ -2,7 +2,7 @@
# 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.
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](https://github.com/danielwilczak101/EasyGA/wiki) or [Youtube](https://www.youtube.com/watch?v=jbuDKwIiYBw) for more information.
@ -15,7 +15,9 @@ pip3 install EasyGA
```
## Getting started with EasyGA(Basic Example):
The goal of the basic example is to get all 5's in the chromosome.
```Python
import EasyGA
@ -31,6 +33,7 @@ ga.print_population()
```
### Output:
```bash
Current Generation : 15
Current population:
@ -47,6 +50,7 @@ Chromosome - 9 [7][2][8][10][3][5][5][8][1][7] / Fitness = 2
```
## Getting started with EasyGA (Password Cracker Example):
```Python
import EasyGA
import random
@ -94,8 +98,9 @@ ga.graph.show()
```
## Ouput:
```
Please enter a word:
Please enter a word:
EasyGA
Current Generation : 44
Chromosome - 0 [E][a][s][y][G][A] / Fitness = 6
@ -113,8 +118,8 @@ Chromosome - 9 [E][a][s][Y][G][A] / Fitness = 5
<img width="500px" src="https://raw.githubusercontent.com/danielwilczak101/EasyGA/media/images/password_cracker_results.png" />
## Issues
We would love to know if your having any issues. Please start a new issue on the [Issues Page](https://github.com/danielwilczak101/EasyGA/issues).
We would love to know if your having any issues. Please start a new issue on the [Issues Page](https://github.com/danielwilczak101/EasyGA/issues).
## Local System Approach
@ -123,6 +128,7 @@ 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.
Use the run.py file inside the EasyGA folder to run your code. This is a local version of the package.
## Check out our [wiki](https://github.com/danielwilczak101/EasyGA/wiki) for more information.