Simple Genetic Algorithm Test
Channel:
Subscribers:
39
Published on ● Video Link: https://www.youtube.com/watch?v=sQpK7dS94U8
A very basic genetic algorithm that converges on a specified target through artificial selection.
The changing bars each represent 100 fitness points, and the distance of the dots from the top represent the current generation.
Every generation, each subject's error is measured by calculating the difference of its fitness from the target. Subjects with the least amount of error are allowed to 'breed' and form the next generation, with every child being formed through the crossover of their parents' genes and mutation.
Those with the best genes survive and dominate the population, resulting in a gradual decrease in error.
Made in Python using the pygame library.
Other Videos By Leo 287
2023-06-30 | Super Mario Galaxy & Mario Kart Mashup/Medley - "Mario In Space" |
2022-04-21 | The Super Mario Medley (GarageBand Music) |
2021-04-18 | Originals - Revival |
2021-04-15 | Super Mario Galaxy/Odyssey: Gusty Garden Galaxy & Fossil Falls Mix (GarageBand Cover) |
2020-01-07 | Simple Genetic Algorithm Test |
2018-02-11 | Chillax |
2017-12-29 | Originals - Hesitance (December) |
2017-12-28 | Originals - Adventure (November) |
2017-12-27 | Originals - Success (October) |
2017-12-26 | Originals - Opportunity (September) |
2017-12-25 | Originals - Ease (August) |
2017-12-24 | Originals - Reunion (July) |
2017-12-23 | Originals - Memories (June) |
2017-12-22 | Originals - Nostalgia (May Music) |
2017-12-21 | Originals - Distance (April Music) |
2017-12-20 | Originals - Suspicion (January Music) |
2016-10-14 | Whiteboard Animation (unfinished) |
2016-06-05 | DJVI - Can't Let Go - Garage Band |
2016-05-14 | Antonov 225 Descent |
2016-02-21 | DJVI - Base After Base - Garage Band |
2016-01-29 | Stick Figure Test |
Tags:
genetic algorithm
simple
python
pygame
program
test