You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
-
# PyGAD: Genetic Algorithm in Python
1
+
# PyGAD: Genetic Algorithm in Python
2
2
3
3
[PyGAD](https://pypi.org/project/pygad) is an open-source easy-to-use Python 3 library for building the genetic algorithm and optimizing machine learning algorithms. It supports Keras and PyTorch. PyGAD supports optimizing both single-objective and multi-objective problems.
4
4
5
-
> Try the [Optimization Gadget](https://optimgadget.com), a free cloud-based tool powered by PyGAD. It simplifies optimization by reducing or eliminating the need for coding while providing insightful visualizations.
5
+
> Try the [Optimization Gadget](https://optimgadget.com), a free cloud-based tool powered by PyGAD. It makes optimization easier by reducing or removing the need for coding, and it shows helpful visualizations.
6
6
7
-
Check documentation of the [PyGAD](https://pygad.readthedocs.io/en/latest).
7
+
Read the [PyGAD documentation](https://pygad.readthedocs.io/en/latest).
[PyGAD](https://pypi.org/project/pygad) supports different types of crossover, mutation, and parent selection. [PyGAD](https://pypi.org/project/pygad) allows different types of problems to be optimized using the genetic algorithm by customizing the fitness function.
15
+
[PyGAD](https://pypi.org/project/pygad) supports different types of crossover, mutation, and parent selection. It lets you optimize many types of problems with the genetic algorithm by writing your own fitness function.
16
16
17
17
The library is under active development and more features are added regularly. If you want a feature to be supported, please check the **Contact Us** section to send a request.
18
18
@@ -25,19 +25,19 @@ The library is under active development and more features are added regularly. I
25
25
26
26
# Installation
27
27
28
-
To install [PyGAD](https://pypi.org/project/pygad), simply use pip to download and install the library from [PyPI](https://pypi.org/project/pygad) (Python Package Index). The library is at PyPI at this page https://pypi.org/project/pygad.
28
+
To install [PyGAD](https://pypi.org/project/pygad), use pip to download and install the library from [PyPI](https://pypi.org/project/pygad) (Python Package Index). The library is available on PyPI at this page:https://pypi.org/project/pygad.
29
29
30
30
Install PyGAD with the following command:
31
31
32
-
```python
32
+
```
33
33
pip install pygad
34
34
```
35
35
36
-
To get started with PyGAD, please read the documentation at [Read The Docs](https://pygad.readthedocs.io/)https://pygad.readthedocs.io.
36
+
To get started with PyGAD, read the documentation at [Read the Docs](https://pygad.readthedocs.io).
37
37
38
38
# PyGAD Source Code
39
39
40
-
The source code of the PyGAD' modules is found in the following GitHub projects:
40
+
The source code of the PyGAD modules is in the following GitHub projects:
The documentation of PyGAD is available at [Read The Docs](https://pygad.readthedocs.io/)https://pygad.readthedocs.io.
51
-
52
50
# PyGAD Documentation
53
51
54
-
The documentation of the PyGAD library is available at [Read The Docs](https://pygad.readthedocs.io) at this link: https://pygad.readthedocs.io. It discusses the modules supported by PyGAD, all its classes, methods, attribute, and functions. For each module, a number of examples are given.
52
+
The PyGAD documentation is available at [Read the Docs](https://pygad.readthedocs.io) at this link: https://pygad.readthedocs.io. It explains the modules supported by PyGAD and all its classes, methods, attributes, and functions. For each module, several examples are given.
55
53
56
-
If there is an issue using PyGAD, feel free to post at issue in this [GitHub repository](https://github.com/ahmedfgad/GeneticAlgorithmPython)https://github.com/ahmedfgad/GeneticAlgorithmPythonor by sending an e-mail to ahmed.f.gad@gmail.com.
54
+
If you have an issue using PyGAD, feel free to post an issue in this [GitHub repository](https://github.com/ahmedfgad/GeneticAlgorithmPython) or send an e-mail to ahmed.f.gad@gmail.com.
57
55
58
56
If you built a project that uses PyGAD, then please drop an e-mail to ahmed.f.gad@gmail.com with the following information so that your project is included in the documentation.
59
57
@@ -65,7 +63,7 @@ Please check the **Contact Us** section for more contact details.
65
63
66
64
# Life Cycle of PyGAD
67
65
68
-
The next figure lists the different stages in the lifecycle of an instance of the`pygad.GA`class. Note that PyGAD stops when either all generations are completed or when the function passed to the `on_generation` parameter returns the string `stop`.
66
+
The next figure shows the main stages in the life cycle of a`pygad.GA`instance. PyGAD stops when all generations are completed or when the function passed to the `on_generation` parameter returns the string `stop`.
[This tutorial](https://www.linkedin.com/pulse/genetic-algorithm-implementation-python-ahmed-gad) is prepared based on a previous version of the project but it still a good resource to start with coding the genetic algorithm.
240
+
[This tutorial](https://www.linkedin.com/pulse/genetic-algorithm-implementation-python-ahmed-gad) is based on an earlier version of the project, but it is still a good resource to start coding the genetic algorithm.
243
241
244
242
[](https://www.linkedin.com/pulse/genetic-algorithm-implementation-python-ahmed-gad)
0 commit comments