What are Genetic Algorithms?

  Рет қаралды 24,239

argonaut

argonaut

Күн бұрын

Welcome to a new series on evolutionary computation!
To start, we'll be introducing genetic algorithms - a simple, yet effective technique for solving difficult computational problems. We'll then visually demonstrate their use with a genetic maze solving simulation.
Source code
↪ Simulations written in Java using Processing.
↪ Genetic Camouflage: github.com/argonautcode/genet...
↪ Genetic Maze Solver: github.com/argonautcode/genet...
Socials
↪ Twitter: / argonautcode
Chapters
00:00 Intro
00:26 Biology
02:05 Genetic Camouflage
06:02 Genetic Maze-Solvers
10:00 Maze-Solvers, Take 2
11:50 Outro

Пікірлер: 36
@PhaltuManas
@PhaltuManas Ай бұрын
just found this video while learning genetic algorithms for exams, and can't wait for the next video.😊
@ziad-explains
@ziad-explains Жыл бұрын
I am glad to have discovered this channel by chance!
@peralser
@peralser Ай бұрын
Amazing explanation!! Clear and very useful!! Thanks
@samad.chouihat4222
@samad.chouihat4222 8 ай бұрын
A nice example for explaining local maxima problem.. watching this from the Algerian Sahara, keep uploading videos
@kamikamen_official
@kamikamen_official 4 ай бұрын
Biology meets Computer Science. This is so cool.
@freedom_aint_free
@freedom_aint_free 2 ай бұрын
Wow, it's been year since the last video !? Please keep 'em coming! I could swear that you would show the NEAT algorithm in the next video ? Please do it !
@norbert6994
@norbert6994 Ай бұрын
great video! keep up the good work!
@m.sadramahmoudi3262
@m.sadramahmoudi3262 11 ай бұрын
That was just wonderful! Thank you for your high-quality work
@GlitchingLater
@GlitchingLater 2 ай бұрын
this is pretty well made!! thank you
@dinohsu1019
@dinohsu1019 6 ай бұрын
Sorry, where's the next episode?
@sAIkeyy
@sAIkeyy 10 ай бұрын
Absolutely loved the explanation on this one!
@simonec3511
@simonec3511 Күн бұрын
really interesting, looking forward to jump on the code,. It would be nice to have it in python instead of java but, any one has his own preferences! thanks for the video!
@onadebt
@onadebt 4 ай бұрын
underrated af
@revimfadli4666
@revimfadli4666 Жыл бұрын
I really like how this went from the absolute basics, until the rarely discussed greedy fitness problem
@argonautcode
@argonautcode Жыл бұрын
Thank you, I’m glad you liked the explanation!
@revimfadli4666
@revimfadli4666 Жыл бұрын
Speaking of neuroevolution maze solver, would you test a maze that doesn't "cheat" by making the longest(highest entropy) path also the correct path(like the example maze in some novelty search papers)? Something like the deceptive tartarus environment perhaps? Though I reckon it might be a tough challenge better saved for later(or even bleeding edge AI research). Having multiple longest paths with only 1 correct answer might be a simpler approach
@argonautcode
@argonautcode Жыл бұрын
Very interesting thoughts! I'll be looking into simpler approaches first, as they are easier to explain, but I'll certainly want to revisit more advanced ideas in the future!
@revimfadli4666
@revimfadli4666 Жыл бұрын
@@argonautcode you're welcome! I see, guess the maze with multiple longest paths would me more suitable for that
@ahmetemiruludag
@ahmetemiruludag 5 ай бұрын
Really great video!
@prestonbourne
@prestonbourne 4 ай бұрын
I'd love if you shared how you made the visuals for this video, particularly what'd you use for the fitness function visualizer and statistics
@halihammer
@halihammer 9 ай бұрын
Very cool visualizations. I liked it very much!
@amirmetaller
@amirmetaller Жыл бұрын
great work friend, thank you and keep it up please
@yogpanjarale
@yogpanjarale 10 ай бұрын
wow amazing explanations and animations
@migueltorrinhapereira7473
@migueltorrinhapereira7473 Ай бұрын
Well explained. Also, the local maximum problem could be solved by using BFS to compute the distance of every legal maze square to the exit, and using that distance as the fitness function. Right?
@argonautcode
@argonautcode 23 күн бұрын
Yep, you could definitely use BFS!
@damus6665
@damus6665 Жыл бұрын
Very cool video!
@victorian1134
@victorian1134 8 ай бұрын
Amazing !
@sricharansureshkumar1471
@sricharansureshkumar1471 2 ай бұрын
i was using Genetic algorithm to tune a PID controller, my problem is that the values of Kp, Kd, Ki of the PID controller is in decimal values. how do i convert these decimals values to binary values and perform crossover and mutation.
@oXRiPerXo
@oXRiPerXo 7 ай бұрын
I’m curious how to implement this problem with the visualisations. Seeing is believing, and I’d love to make something like this to begin to comprehend it. Do you have any recommendations or planned tutorials on how we could create this maze problem? Thanks. Subscribed!
@Blooper1980
@Blooper1980 Жыл бұрын
More please.
@abdulhamedeid935
@abdulhamedeid935 4 ай бұрын
can you open source the codes for us to experiment with it, codes for the visualize and how did you do such an amazing animations
@overratedprogrammer
@overratedprogrammer Жыл бұрын
Representation in a maze is harder than you initially think. I'm having trouble trying to do this. Basically how do you know how many genomes/moves an individual should have? Since they can't really ever grow in genome/move count?
@argonautcode
@argonautcode Жыл бұрын
While it’s a little tricky to grow move count, it’s not so difficult to lower it. For example, if an individual solves the maze with moves to spare, we can just ignore the remaining moves. So the idea is that we need a large enough move count so that the individuals have moves to spare. The exact number you pick for this would depend on your maze size and complexity, but it’s generally better to shoot high. We can then reduce the move count over time, relying on the genetic algorithm to pressure individuals to optimize their moves.
@laughingvampire7555
@laughingvampire7555 7 ай бұрын
I would say that more than inspired is an abstraction of the concept of evolution in biology and then it can be generalized in the realm of logic and information theory, starting with a set for population of autonomous agents, called P, and then each of these autonomous agents have information and then they have a process of recombination of this information. With any of these sets you can implement evolution. The obvious example in real life would be biological evolution, another example is ideas and the process of recombination is dialog and the equivalent to species would be culture.
@revimfadli4666
@revimfadli4666 7 ай бұрын
What if, instead of a single population whose fitness comes from both proximity and exploration, you split them into 2 subpopulations; explorers and improvers/exploiters. Each only gains fitness from its namesake. However, each generation the culled 50% in both subpopulations are filled children from both subpopulations, so the exploration and exploitation percolate
@Srindal4657
@Srindal4657 7 күн бұрын
Maybe you should consider multiple species, rather than a single one
Snake learns with NEUROEVOLUTION (implementing NEAT from scratch in C++)
28:08
Training an unbeatable AI in Trackmania
20:41
Yosh
Рет қаралды 12 МЛН
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 2,8 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 8 МЛН
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 24 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
But what is a convolution?
23:01
3Blue1Brown
Рет қаралды 2,5 МЛН
NEAT Algorithm Visually Explained
18:07
David Schäfer
Рет қаралды 1,2 М.
What happens at the Boundary of Computation?
14:59
Mutual Information
Рет қаралды 58 М.
A simple procedural animation technique
8:31
argonaut
Рет қаралды 253
Genetic Algorithms - Jeremy Fisher
50:07
CernerEng
Рет қаралды 53 М.
The Most Important Algorithm in Machine Learning
40:08
Artem Kirsanov
Рет қаралды 254 М.
AI Learns to Speedrun Mario
8:07
Kush Gupta
Рет қаралды 631 М.
How Artificial intelligence learns | Genetic Algorithm explained
5:01
Evolving Genetic Neural Network Optimizes Poly Bridge Problems
9:59
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 2,8 МЛН