r/genetic_algorithms • • Dec 14 '24

True Darwinian evolution, true natural selection in a simulated world

44 Upvotes

r/genetic_algorithms • • May 17 '20

My attempt at solving the Travelling Salesman Problem using GA. https://github.com/manpreet1130/Travelling-Salesman-Problem-with-Genetic-Algorithm

42 Upvotes

r/genetic_algorithms • • May 01 '25

I created an app to draw images from text, by using genetic algorithms.

Thumbnail gallery
39 Upvotes

r/genetic_algorithms • • Jun 13 '20

[Self Promotion] Hey! I'm a software engineer who works with Genetic Algorithms. I love them enough to make a series about them. Today marks the 6th video in a series. This video is all theory and covers multi-objective! Please check it out if you're interested.

38 Upvotes

https://youtu.be/3JrpyuSHEWQ

A bit more background -

I work with a company that creates scheduling applications for mine sites, and our team works heavily with genetic algorithms.

I really enjoy genetic algorithms and have used them for a number of random projects. I wanted to share my love for them, so I’ve made a series. In this series, we are solving the traveling salesman problem. In today's video, we go through converting our current system to support multi-objective. We also cover why we need it and the benefits we can get from it (written in C#).

All source code is provided, so if you're interested and want to follow along, please check it out!


r/genetic_algorithms • • Nov 23 '19

Genetic algorithm arranging 1000 points in a circle

38 Upvotes

r/genetic_algorithms • • Nov 11 '20

I made this self driving evolving cars game, hope you like it!

Thumbnail
youtube.com
35 Upvotes

r/genetic_algorithms • • Jan 16 '16

Evolving Wind Turbine Blades

Thumbnail
youtu.be
33 Upvotes

r/genetic_algorithms • • Jun 29 '16

Reproduce image with genetic algorithm

Thumbnail
youtube.com
29 Upvotes

r/genetic_algorithms • • Sep 19 '17

I used genetic programming to create a simple ruleset which produces a fractal of the number pi. Lots of info in comments

Thumbnail
imgur.com
27 Upvotes

r/genetic_algorithms • • Oct 14 '25

Faster, Smaller, Smarter: An Object-Based AI Brain

26 Upvotes

We present a more efficient method for training artificial intelligence on visual tasks using neuroevolution. Our approach combines modern deep learning with classic computer vision. Instead of processing raw pixels or small, grid-like patches , our AI first segments the image into meaningful regions based on visual properties like color. It then uses an attention mechanism to focus on the most important of these regions. This technique allows our AI to achieve state-of-the-art results with a model that is 62% smaller and trains 2.6 times faster than previous approaches.

https://webacademico.canoas.ifrs.edu.br/~rcpinto/neuroproto/


r/genetic_algorithms • • Feb 12 '24

Genetic Algorithm (PyGAD) Paints Realistic Monalisa using 16 Brush Strokes + Source Code

Thumbnail
youtu.be
24 Upvotes

r/genetic_algorithms • • Dec 14 '22

Genetic Algorithm To Train Neural Networks

24 Upvotes

A buddy and I recently launched some open source project. We created a framework in Java with which you can implement a Machine Learning Algorithm. It uses a genetic Algorithm to train a population of Neural Networks based on fitness function. Our motivation was to bring Machine Learning closer to people who only learned Java in school/University and wanna try out Machine Learning without the need of first learning python or super complex Java libraries. It's designed to be easy to use and to be played around with. The gentic Algorithm takes a big part in keeping the Framework as simple as possible.

We put a lot of effort in separating the Genetic Algorithm used in this framework from the rest of our work. It can therefore be used completely without the Neural Networks as well and is fully generic. (Even tho it's much more fun with Neural Networks :D). You can decide which Selection, Mutation or Recombination you want to use and even implement our own Selection/Mutation/Recombination process. (The most known ones are already implemented though)

Here is a tutorial how to predict diabetes with this framework: https://easy-ml.gitbook.io/easy-ml-for-java/fundamentals/implement-your-first-ai

Please also look at the GitHub repository and leave some feedback about code and design. (Especially considering the ReadMe)
https://github.com/tomLamprecht/Easy-ML-For-Java

Thanks so much!

PS: we earn no cent with this project, and we just do it for the experience. So feedback is basically our payment :D (We also take GitHu Stars tho lol)

Thank you guys so much!


r/genetic_algorithms • • Sep 14 '19

Combining a Langton's ant colony with genetic algorithms yields some interesting results.

Post image
24 Upvotes

r/genetic_algorithms • • Oct 29 '21

[Self-promotion] Bomberland: A multi-agent machine learning competition inspired by Bomberman

23 Upvotes

r/genetic_algorithms • • Dec 22 '20

Interested in multiobjective genetic algorithms? check out the new paper "Improving the Performance of Multiobjective Genetic Algorithms: An Elitism-Based Approach"

Thumbnail
mdpi.com
23 Upvotes

r/genetic_algorithms • • Jun 20 '21

PyGAD 2.16.0 Released! A Python 3 Library for Building the Genetic Algorithm and Training Machine Learning Algorithms (Supports Keras and PyTorch)

22 Upvotes

PyGAD is an intuitive open-source Python library for building the genetic algorithm and training machine learning models.

Some of the 2.16.0 release notes are:

  1. Support a precision for the floating-point gene data types.

  2. More visualization options are supported to see how the genes changes per each generation, the number of new solutions explored per generation, and more.

  3. Support of using user-defined functions for the crossover, mutation, and parent selection operators.

  4. A new parameter named stop_criteria helps to stop the evolution when some criteria happens.

  5. Ability to save all solutions or only the best solutions across all generations.

Check the release notes section of the documentation for more information: https://pygad.readthedocs.io

PyGAD at GitHub: https://github.com/ahmedfgad/GeneticAlgorithmPython

DONATION & SUPPORT

  1. Open Collective: opencollective.com/pygad

  2. PayPal: Use either this link: paypal.me/ahmedfgad or the e-mail address [email protected]

  3. Interac e-Transfer: Use e-mail address [email protected]

  4. Buy a product at Teespring: pygad.creator-spring.com


r/genetic_algorithms • • Apr 29 '21

Genetic algorithm NSGA2 coded in python: Easy to use pymoo package - a HANDS ON Tutorial in python to make a first multi-objective optimization run! Have Fun!

Thumbnail
youtube.com
22 Upvotes

r/genetic_algorithms • • Dec 11 '20

Code Tutorial: On Genetic Algorithms, Neuroevolution and Novelty Search (for RL)!

22 Upvotes

Hi r/genetic_algorithms community!

I'm a computer science undergraduate and I wrote 3 articles on genetic algorithms, neuroevolution and novelty search (for reinforcement learning) as part of my learning process, and I hope to learn from you all about my understanding of these concepts!

I have been motivated by Uber AI Lab's deep neuroevolution work of evolutionary computation in reinforcement learning (Deep neuroevolution: Genetic algorithms are a competitive alternative for training deep neural networks for reinforcement learning, Improving exploration in evolution strategies for deep reinforcement learning via a population of novelty-seeking agents), which led me to learning more about those 3 concepts!

I hope that these articles can also be useful for your learning, and hope that you can give some feedback (positive or negative both welcome) on them as well! Thank you! :)


r/genetic_algorithms • • Aug 01 '17

[Interactive Tutorial] Introduction to Genetic Algorithms in Python

Thumbnail
tech.io
22 Upvotes

r/genetic_algorithms • • May 03 '17

I made a genetic programming system based on BrainFuck, written in Rust.

Thumbnail silverwingedseraph.net
22 Upvotes

r/genetic_algorithms • • Mar 09 '23

Evolving in-game 3D creatures using genetic algorithms: Game under development. The DevLog shows first early in-game results of evolving the creatures by matching them against magical turrets.

Thumbnail
youtu.be
21 Upvotes

r/genetic_algorithms • • Aug 18 '20

Procedural Paintings with Genetic Evolution Algorithm

Thumbnail
medium.com
21 Upvotes

r/genetic_algorithms • • Jun 22 '20

Made an AI that tries to win the game "2048."

Thumbnail
youtube.com
21 Upvotes

r/genetic_algorithms • • Nov 10 '16

NeuroEvolution : Flappy Bird

Thumbnail xviniette.github.io
21 Upvotes

r/genetic_algorithms • • Dec 20 '21

Interactively mutating Cellular Automata until they look biological across 225 generations

Thumbnail
youtube.com
20 Upvotes