PyGAD (@PyGADLib) header
PyGAD (@PyGADLib) profile picture

PyGAD is a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).

Ottawa, ON, Canada
Joined March 2020
Photo by PyGAD (@PyGADLib)Photo by PyGAD (@PyGADLib)Photo by PyGAD (@PyGADLib)Photo by PyGAD (@PyGADLib)Photo by PyGAD (@PyGADLib)Photo by PyGAD (@PyGADLib)
PyGAD 3.8.0 is Released! This release adds lifecycle charts and improves parallel fitness evaluation, permutation mutation, duplicate repair and gene conversion. Each GA now owns its random generators, and saved histories record actual generation numbers across repeated runs.
21
PyGAD retweeted
pip install pygad, で簡単に遺伝的アルゴリズムをテストできる。すごい時代だ。
2
2
48
keep_elitism vs keep_parents
PyGAD gives you two ways to carry good solutions into the next generation: keep_elitism and keep_parents. This short tutorial shows how they differ and when to use each. For more information, PyGAD Docs: pygad.readthedocs.io
23
PyGAD 3.7.0 Released!
PyGAD 3.7.0 is out. 🧬 The Python genetic-algorithm library just got a major upgrade: NSGA-III multi-objective SBX crossover + polynomial mutation Stop by time or evaluations Built-in benchmarks + new plots One-call PDF reports pip install pygad==3.7.0 github.com/ahmedfgad/Genetic…
23
Ever tried solving optimization problems with PyGAD while fueled by a banana-macha-chocolate smoothie? Watch this to see how last semester vibes and genetic algorithms actually mix. Good luck, Josué with your upcoming exam. tiktok.com/@josu_593/video/7…
1
18
Replying to @TheBojda
Interesting. Let’s see if a feature could be added about this. Thanks Laszlo.
1
9
LLM Fine-Tuning with Evolutionary Algorithms Fine-tuning large language models using evolutionary algorithms is especially exciting because it doesn’t require gradient descent—only inference. You modify the network, evaluate how it performs, and iterate. This approach avoids getting stuck in local minima and sidesteps many of the constraints associated with gradient-based optimization. Instead of relying on backpropagation, you explore the solution space more freely. Several techniques can make inference-time models far more efficient than their original versions: distillation, quantization, 1-bit networks, specialized hardware, and more. When you take these advantages into account, evolutionary fine-tuning can potentially become significantly more efficient than traditional gradient descent–based methods. youtube.com/watch?v=lLkE9w1N…
2
1
3
84
Alex has been a loyal contributor to the PyGAD library. Huge thanks to Alex for being a loyal supporter and helping us keep the mutation rates stable and the crossovers clean! Open Collective: opencollective.com/pygad PayPal: Use either this link: paypal.me/ahmedfgad
🤖 Made with AI
1
43
PyGAD 3.6.0 Released Quick summary of the release changes: 1. Pass a class as fitness function. 2. Optimizing and refactoring the code. 3. More tests. 4. Other bug fixes. Documentation: pygad.readthedocs.io GitHub repository: github.com/ahmedfgad/Genetic…
1
1
42
PyGAD retweeted
A new AI review! ahmedfgad/GeneticAlgorithmPython ⭐3.7/5.0 PyGAD (published as the `pygad` package) is a mature, feature-rich genetic algorithm library for Python focused on practical optimization workflows, including integ... gitrated.com/ahmedfgad/Genet…
1
1
17
Thank you Hasan Can Beydili for the comparison between @PyGADLib and PyerualJetwork. Unfortunately, I have no Turkish background to benefit from the comparison. I just used Google Gemini to create a quick summary of the comparison. youtu.be/XQG0Pfxj0a8?si=SCMT…
1
62
Try the Optimization Gadget @OptimGadget, a cloud tool for using PyGAD to solve optimization problems. It is free. optimgadget.com
2
2
64
Sequential Printed Multilayer Perceptron Circuits for Super-TinyML Multi-Sensory Applications arxiv.org/html/2412.06542v1
23
Replying to @toRoxel @ahmedfgad
Thank you!
1
21
🚀🎉 We Did It! 2 Million Downloads! 🎉🚀 A huge THANK YOU to our incredible community for making this milestone possible! PyGAD has officially reached 2 MILLION downloads! 🥳✨ pepy.tech/projects/pygad github.com/ahmedfgad/Genetic… Here’s to the next million! 🚀🔥
1
1
2
81
Coming soon!
🚀 The Optimization Gadget is Almost Here! Stay ahead of the curve—subscribe to our newsletter for exclusive updates and early access! 🌟 optimgadget.com
2
14