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
[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.
22
22
@@ -68,7 +68,7 @@ Please check the **Contact Us** section for more contact details.
68
68
69
69
The following 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`.
The following code implements all the callback functions to trace the execution of the genetic algorithm. Each callback function prints its name.
74
74
@@ -242,7 +242,7 @@ To start with coding the genetic algorithm, you can check the tutorial titled [*
242
242
243
243
[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.
244
244
245
-
[](https://www.linkedin.com/pulse/genetic-algorithm-implementation-python-ahmed-gad)
245
+
[](https://www.linkedin.com/pulse/genetic-algorithm-implementation-python-ahmed-gad)
246
246
247
247
## Tutorial: Introduction to Genetic Algorithm
248
248
@@ -252,7 +252,7 @@ Get started with the genetic algorithm by reading the tutorial titled [**Introdu
252
252
*[Towards Data Science](https://towardsdatascience.com/introduction-to-optimization-with-genetic-algorithm-2f5001d9964b)
[](https://www.linkedin.com/pulse/introduction-optimization-genetic-algorithm-ahmed-gad)
255
+
[](https://www.linkedin.com/pulse/introduction-optimization-genetic-algorithm-ahmed-gad)
256
256
257
257
## Tutorial: Optimize Neural Networks with Genetic Algorithm
258
258
@@ -262,7 +262,7 @@ Read about training neural networks using the genetic algorithm through the tuto
262
262
-[Towards Data Science](https://towardsdatascience.com/artificial-neural-networks-optimization-using-genetic-algorithm-with-python-1fe8ed17733e)
By running the code again, a different initial population is created, so a classification accuracy of 100 can be reached using fewer generations. On the other hand, a different initial population might cause 100% accuracy to be reached using more generations or not reached at all.
Copy file name to clipboardExpand all lines: docs/source/help_languages.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Bien que la manière standard d'entraîner les réseaux de neurones soit la desc
8
8
9
9
Utiliser un algorithme génétique pour former un réseau de neurones simple pour résoudre le OpenAI CartPole Jeu. Dans cet article, nous allons former un simple réseau de neurones pour résoudre le OpenAI CartPole . J'utiliserai PyTorch et PyGAD .
10
10
11
-
[](https://www.hebergementwebs.com/nouvelles/comment-les-algorithmes-genetiques-peuvent-rivaliser-avec-la-descente-de-gradient-et-le-backprop)
11
+
[](https://www.hebergementwebs.com/nouvelles/comment-les-algorithmes-genetiques-peuvent-rivaliser-avec-la-descente-de-gradient-et-le-backprop)
12
12
13
13
## Spanish
14
14
@@ -18,13 +18,13 @@ Aunque la forma estandar de entrenar redes neuronales es el descenso de gradient
18
18
19
19
Usa un algoritmo genetico para entrenar una red neuronal simple para resolver el Juego OpenAI CartPole. En este articulo, entrenaremos una red neuronal simple para resolver el OpenAI CartPole . Usare PyTorch y PyGAD .
20
20
21
-
[](https://www.hebergementwebs.com/noticias/como-los-algoritmos-geneticos-pueden-competir-con-el-descenso-de-gradiente-y-el-backprop)
21
+
[](https://www.hebergementwebs.com/noticias/como-los-algoritmos-geneticos-pueden-competir-con-el-descenso-de-gradiente-y-el-backprop)
22
22
23
23
## Korean
24
24
25
25
### [[PyGAD] Python 에서 Genetic Algorithm 을 사용해보기](https://data-newbie.tistory.com/m/685)
파이썬에서 genetic algorithm을 사용하는 패키지들을 다 사용해보진 않았지만, 확장성이 있어보이고, 시도할 일이 있어서 살펴봤다.
30
30
@@ -50,7 +50,7 @@ En son PyGAD sürümü 2.8.0 (20 Eylül 2020'de piyasaya sürüldü), Keras mode
50
50
51
51
Bu öğreticide, PyGAD kullanılarak Keras modellerinin nasıl eğitileceği anlatılmaktadır. Tartışma, Sıralı Modeli veya İşlevsel API’yi kullanarak Keras modellerini oluşturmayı, Keras model parametrelerinin ilk popülasyonunu oluşturmayı, uygun bir uygunluk işlevi oluşturmayı ve daha fazlasını içerir.
@@ -62,7 +62,7 @@ A hálózatok tenyésztéséhez a [PyGAD](https://pygad.readthedocs.io/en/latest
62
62
63
63
Maga a PyGAD egy teljesen általános genetikus algoritmusok futtatására képes rendszer. Ennek a kiterjesztése a KerasGA, ami az általános motor Tensorflow (Keras) neurális hálókon történő futtatását segíti. A 47. sorban létrehozott KerasGA objektum ennek a kiterjesztésnek a része és arra szolgál, hogy a paraméterként átadott modellből a második paraméterben megadott számosságú populációt hozzon létre. Mivel a hálózatunk 386 állítható paraméterrel rendelkezik, ezért a DNS-ünk itt 386 elemből fog állni. A populáció mérete 10 egyed, így a kezdő populációnk egy 10x386 elemű mátrix lesz. Ezt adjuk át az 51. sorban az initial_population paraméterben.
@@ -78,4 +78,4 @@ PyGAD — это библиотека для имплементации гене
78
78
79
79
PyGAD разрабатывали на Python 3.7.3. Зависимости включают в себя NumPy для создания и манипуляции массивами и Matplotlib для визуализации. Один из изкейсов использования инструмента — оптимизация весов, которые удовлетворяют заданной функции.
0 commit comments