Genetic Algorithms Explained By Example

Ғылым және технология

Did you know that you can simulate evolution inside the computer? And that you can solve really really hard problems this way? In this tutorial, we will look into the question: What are genetic algorithms? I will try to explain genetic algorithms using an example. And we will look at different applications of this evolutionary algorithm. We will also try to solve one historic problem in computer science by example: The Knapsack problem.
Genetic algorithms are a subgroup of evolutionary algorithms or evolutionary computing and they are used in self-learning machine learning algorithms and AI. They use the concept of natural selection to simulate the survival of the fittest and natural selection inside your computer.
This video is number one of a course of video tutorials to teach you the very basics of genetic algorithms in Python.
🙏 Support me: / kiecodes
🛰 Join our Discord, to interact with other Coders and me: / discord
🧠 Pick my brain: calendly.com/kiecodes/ai-cons...
Check out my newest video: • How to use the OpenAI ...
Follow me here:
kiecodes
kiecodes
Questions of the day
■ What would you use genetic algorithms for?
P-VERSUS-NP-PROBLEM:
■ I love the simple explanation and the relations to the Simpsons and Futurama: • P vs NP on TV - Comput...
RESEARCH:
■ Eiben, A. E. et al (1994) "Genetic algorithms with multi-parent recombination"
■ Geijtenbeek, van de Panne, van der Stappen (2013) "Flexible Muscle-Based Locomotion for Bipedal Creatures" - www.goatstream.com/research/p...
■ Hornby, Globus (2006) "Automated Antenna Design with Evolutionary
Algorithms" - ti.arc.nasa.gov/m/pub-archive...
Timestamps:
00:00 Intro
00:23 The Problem
02:48 The Knapsack Problem
03:20 What are Genetic Algorithms
04:17 How does it work?
06:49 Summary
07:52 Is it worth it?
08:40 Results
10:23 Applications
---
This video contains advertising content.
---
Attribution:
■ Photo by Anush Gorak from Pexels - www.pexels.com/photo/man-hold...
#python #machinelearning #geneticalgorithms

Пікірлер: 453

  • @KieCodes
    @KieCodes3 жыл бұрын

    Thanks for stopping by! Today we will encounter a problem we can't easily solve with our normal algorithmic tools so we deep dive into a class of algorithms called: GENETIC ALGORITHMS! I hope you find it as interesting as I do. *What would you use them for?*

  • @DevOpsDirective

    @DevOpsDirective

    3 жыл бұрын

    I first learned about evolutionary algorithms from this TED talk www.ted.com/talks/bill_gross_a_solar_energy_system_that_tracks_the_sun/ Since then I have wanted to use them to write a program that attempts to learn how to write brainf***. BF seems like a good language choice since there are only a handful of symbols and writing/instrumenting an interpreter to also evaluate an objective function to feed back into the evolutionary algorithm would be simple! I haven't gotten around to it yet, but perhaps soon!

  • @Stopinvadingmyhardware

    @Stopinvadingmyhardware

    11 ай бұрын

    Thanks, you just helped me solved a vector problem I was having. Oddly, I didn’t even use an algorithm.

  • @kx9473
    @kx94732 жыл бұрын

    This guy explained everything from 2 weeks long boring lecture in under 12 minutes with extremely clear explanation. I love you because you just saved my degree.

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    You are more than welcome my friend. 🙏 Rock on! 🚀

  • @davidi686

    @davidi686

    8 ай бұрын

    2 hour’s lecture in 12mins how about that .

  • @Terra_Cognita

    @Terra_Cognita

    7 ай бұрын

    Do you know how he calculated the total number of combinations in a naive brute force approach? I did permutations and combinations and the values were not equal.

  • @Terra_Cognita

    @Terra_Cognita

    7 ай бұрын

    Never mind I figured it out, It is the sum of all possible (N chooses k) combinations k = 0, 1,..N which simplifies to 2^N

  • @mr.boomguy

    @mr.boomguy

    2 ай бұрын

    This is why I love watching KZread. Sure, 95% of the time is trivia and entertainment, but then you stumble upon things you either where looking for or not, and you learn them in minutes instead of the years it takes from professional lecturing. (Granted, processing that information is a whole other ordeal, but at least you have it on hand)

  • @sergioseco9835
    @sergioseco98353 жыл бұрын

    this deserves a million views

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks Sergio 🙏

  • @michaelfekadu6116

    @michaelfekadu6116

    3 жыл бұрын

    I agree

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @mattgraves3709

    @mattgraves3709

    3 жыл бұрын

    not joking!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    @@mattgraves3709 Thanks as well! 😅

  • @xandrovich5976
    @xandrovich59762 жыл бұрын

    I must say - the quality of this video is top-notch. The crisp editing, sound, and illustrations do a great job of demonstrating the point.

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you so much! 🙏

  • @adityagarg2185
    @adityagarg2185 Жыл бұрын

    This video was AMAZING. I can't believe the amount of time and effort you took to explain this topic so clearly. It sucks that you stopped making videos. What can I do to motivate you to make an algorithm series?

  • @abdullahsheriff_
    @abdullahsheriff_ Жыл бұрын

    According to me, his video is THE BEST explanation on KZread on Genetic Algorithms. My mates and I understood Genetic Algorithms like never before, loved it, and implemented it in our University Course Project. Thank you, Kie.

  • @KieCodes

    @KieCodes

    Жыл бұрын

    You are more than welcome! Enjoy your studies!

  • @TarunRavi
    @TarunRavi3 жыл бұрын

    Wow your video is awesome! You explained a pretty complex algorithm in a simple way. I've always wanted to use genetic algorithms for one of my videos, this is a fantastic intro to the field! btw I love your video quality, it looks soo good.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks so much for your kind words. 🙏

  • @colinmignot6309
    @colinmignot63092 жыл бұрын

    you're great teacher. taking time to edit engaging videos with visuals like you do is very effective to help ppl grasp concepts

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @georgeruellan
    @georgeruellan3 жыл бұрын

    Dude this video is amazing. Great explanation, I liked the real world example too. Your editing style is sick too! Can't wait to see more from you

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks George. This means a lot and is really motivating! Great to have you here. Rock on!

  • @zacrobyte
    @zacrobyte3 жыл бұрын

    Yo dude, this is some next level way of teaching your channel should've had atleast 1 mil already

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏 Maybe some day. Thanks again for the motivating words.

  • @BehniaFB
    @BehniaFB3 жыл бұрын

    I've never imagined that one day Seth Rogen will be teaching me Algorithms😂 (Jokes aside this video was amazing and well-made; GOOD JOB!❤)

  • @willboler830
    @willboler8302 жыл бұрын

    Excellent video! One of the better selection algorithms and more typical is a tournament selection. Rather than choosing the best fitness genes for the next generation, each gene is given a probability of selection based on their fitness. Better genes have a higher probability of selection, and worse genes have a lower probability of selection, but the odds of selection are not 100% and 0% respectively. This takes a bit longer when it comes to finding a solution, but it gives a better search of the solution space.

  • @lohithkandukuri5579
    @lohithkandukuri5579 Жыл бұрын

    SOOOOOOOO gooood.... Nobody could have been more concise and informative at the same time.

  • @KieCodes

    @KieCodes

    Жыл бұрын

    Thank you very much! 🙏🙏🙏

  • @evrmk
    @evrmk Жыл бұрын

    Three 1.5-hour-long lectures in my university explained in 11 minutes. Thanks!

  • @subpixelsalt7648
    @subpixelsalt76483 жыл бұрын

    Great video! I've been facinated by genetic algorithms after seeing people use it to beat levels in Super Mario Bros. There's just something so fascinating about watching a computer "learn" how to get better at doing something.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you! I totally feel the same. It is modern magic. 🙃

  • @aliticx
    @aliticx3 жыл бұрын

    Man I wish everyone explained concepts this good! Awesome video!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you Aliticx. This comment really means a lot to me. 🙏 Having people to really understand what I try to explain is way more worth to me than subscribers and views. Thank you.

  • @eddazzo
    @eddazzo2 жыл бұрын

    Im a computer science degree student and this helps me to understand better on my final year project's topic! Thank you very much sir!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    You are more than welcome my friend. 🙏 Rock on! 🚀

  • @CristalMediumBlue
    @CristalMediumBlue11 ай бұрын

    Toll. Das ist das beste Video, das ich bisher zu diesem Thema gesehen habe

  • @BehniaFB
    @BehniaFB3 жыл бұрын

    Every second I that goes, I realize more how complete this video is ! This vid should definitely have more than a million views .

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you so much!

  • @MeANDmyPETgoat
    @MeANDmyPETgoat3 жыл бұрын

    Great video bro, helped me understand what my teacher's mumbling couldn't for our test, keep it up!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks for your kind words. 🙏

  • @mesticasamelapapna708
    @mesticasamelapapna708 Жыл бұрын

    Thank you for this Kie! I'm amazed that you use Genetic Algorithm to solve the Knapsack problem :)

  • @adinvella4665
    @adinvella4665 Жыл бұрын

    Very informative video; full of information yet very easy to follow. Thank you!

  • @TheTehnigga
    @TheTehnigga2 жыл бұрын

    Really well explained and cured, these are the kind of explanations that I prefer, there's love and dedication behind it. Thank you!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @annashchukina3768
    @annashchukina37683 жыл бұрын

    This was an amazing introduction to the topic and great intuition. Thanks for the video! It was also fun to watch😄

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @shouryaraj5913
    @shouryaraj59133 жыл бұрын

    Astonishing video! Thanks for sharing the incredible research papers. Looking forward to learn and explore more. Thanks

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks for you kind words! :)

  • @thop7964
    @thop79642 жыл бұрын

    Fantastic example. Really helps show how the conceptual steps actually work!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @alvaroarcelus8949
    @alvaroarcelus894910 ай бұрын

    Amazingly explained!! Thank you so much. 🙌

  • @Joselo09111
    @Joselo091112 жыл бұрын

    Fantastic explanation! I learned more in this video, than my professor

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Great to hear! Thank you so much!

  • @GlynisDance
    @GlynisDance Жыл бұрын

    That was an excellent video. Clear, engaging, inspiring and fun! I will be watching more of your videos.

  • @KieCodes

    @KieCodes

    Жыл бұрын

    Thank you!

  • @MaTrOoOoD
    @MaTrOoOoD3 жыл бұрын

    After watching the video I opened the channel expecting to see millions of subscribers. You deserve much more!! What an awesome video. Simple and right to the main points! Keep up the good work!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Wow. Thanks for your kind and motivating words Mo. I will try my best. To be honest I wouldn’t be ready for millions of subs. Glad to hopefully hit a 1000 till 2021. Have a great day! 🙏

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    And thanks for subscribing! One sub closer. ☺️

  • @MaTrOoOoD

    @MaTrOoOoD

    3 жыл бұрын

    @@KieCodes dude your videos are extraordinary! I couldn’t resist 🤷🏻‍♂️ Wish you best of luck man! Can’t tell you how happy and excited I am to see what you have next!

  • @hansergonzalez6646
    @hansergonzalez66462 жыл бұрын

    What an amazing content, explained with simple words. Thanks and keep up the hard work.

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Glad you liked it! Thank you!

  • @fasaipuengudom5412
    @fasaipuengudom5412 Жыл бұрын

    Best video regarding this topic. Very visual and easy to understand

  • @r.ramirez1521
    @r.ramirez15212 жыл бұрын

    Please don't ever go away. This was amazing

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @vasachisenjubean5944
    @vasachisenjubean59443 жыл бұрын

    man the effort you put in this video is - "Salute"

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @BraidyMerkle
    @BraidyMerkle3 жыл бұрын

    I have not yet had to use genetic algorithms, but want to try them out after watching this video! Thanks for the introduction!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks Braidy! Let me know what you used them for. :)

  • @kr0tyara
    @kr0tyara3 жыл бұрын

    You are such an underrated gem. GOOD JOB!!!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @daphnelenders4207
    @daphnelenders42073 жыл бұрын

    Thanks a lot for your explanation, looking forward to use genetic algorithms in the future!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. Have fun, its a great tool!

  • @kritagyagupta8619
    @kritagyagupta86193 жыл бұрын

    Dude, Your videos are higher quality then Pewdiepie and Dream combined Not exaggerated I have literally understood a concept u have tried to learn from past 10 months

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏 I am glad I could help. And thanks for your nice words. ☺️

  • @hamidnodehi
    @hamidnodehi Жыл бұрын

    Helped a lot. Thanks so much.

  • @diegocruz8187
    @diegocruz81873 жыл бұрын

    This channel should have more subscribers! Really amazing video and explanation

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks Diego! 💪🙏

  • @mahdilatreche4501
    @mahdilatreche45013 жыл бұрын

    This video is astonishing, you deserve a lot more views, keep up the good work :)

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @michellesainos3443
    @michellesainos34433 жыл бұрын

    Thank you!!! your explanation was very clear and awesome!! Definitely checking out the implementation

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you Michelle!🙏

  • @Copybook
    @Copybook11 ай бұрын

    I was really hard to digest it and I don't mean mathematically BTW, tomorrow I have an exam and you save my life, a blessing from an AI student

  • @seriouscoder1727
    @seriouscoder17272 жыл бұрын

    I,ve watched many clips in this regard but your explanation was one of a kind, absoulotlly deserve thousends of million of billion views

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Wow. Thank you for your kind words! 🙏

  • @o.rudyemonvuon64
    @o.rudyemonvuon643 жыл бұрын

    Absolutely amazing !!!! You perfectly outlined the points and I'm defenetly more intrigued in doing additional research and watching your other videos !!!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you for your kind words.

  • @samidahdouh7863
    @samidahdouh78633 ай бұрын

    This is actually one of the best videos I've ever seen on KZread. Thank you!

  • @KieCodes

    @KieCodes

    3 ай бұрын

    Wow. Thank you. 🙏🎉

  • @mohammadabdurroufhrithik5152
    @mohammadabdurroufhrithik5152 Жыл бұрын

    very helpful video!!! excellently explained!

  • @srinivaskollipara1293
    @srinivaskollipara12933 жыл бұрын

    this is awesome!!!!!!! I am a mechanical engineer with 0 knowledge in these type of algorithms but for the sake of a project on scheduling using the genetic algorithm I was surfing youtube, this is the best explanation I ever had and it is very clear if possible, please suggest algorithms similar to this which are good for job shop scheduling.

  • @roct07
    @roct07 Жыл бұрын

    This is so well explained

  • @TheCzarsoham
    @TheCzarsoham3 жыл бұрын

    Great video! Exactly what I was looking for!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    I am sooo glad it helped you! 🙏

  • @jayha5924
    @jayha592410 ай бұрын

    good man, keep it up!! really appreciated

  • @arianalini8636
    @arianalini86367 ай бұрын

    how is it not booming yet?! thank u for the clear explanation + the awesome edits!

  • @MohamedHassan-xf5wb
    @MohamedHassan-xf5wb Жыл бұрын

    Really well explained

  • @ragabnadim
    @ragabnadim Жыл бұрын

    Thank you for the video, will recommand to my students

  • @paragvadhiya8019
    @paragvadhiya80192 жыл бұрын

    Video is on point, accurate and does not waste your time. Thanks so much man.

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    I really appreciate your kind words! 🙏

  • @yasminejas5007
    @yasminejas50072 ай бұрын

    Thank you so much this video is very helpful for my thesis!

  • @KieCodes

    @KieCodes

    2 ай бұрын

    Glad it was helpful! 🙏

  • @TWFDeadzoneII
    @TWFDeadzoneII3 жыл бұрын

    Mind blowing. I can't wait to implement this.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    It surely is. Have fun!

  • @nishitpatel5686
    @nishitpatel56862 жыл бұрын

    one of the best videos on genetic algorithm

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @shahed.hijjawi
    @shahed.hijjawi Жыл бұрын

    GREAT EFFORT BRO!

  • @jiahaochang8628
    @jiahaochang86282 жыл бұрын

    This is an awesome video to match. Thank you for your explanation, that is a great visual approach!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you! 🙏

  • @shwetakale246
    @shwetakale2462 жыл бұрын

    Best video with good example thank you!!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @ForTheOmnissiah
    @ForTheOmnissiah11 ай бұрын

    Wish you uploaded more. This is quality content.

  • @1stpatrickha
    @1stpatrickha3 жыл бұрын

    To be honest, this is the best video explained about this Genetic Algor concept. Quality contents. Keep going dude!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @sardororipov1302
    @sardororipov13023 жыл бұрын

    I’m here before this channel get 1million subs. Keep up the great work man!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @zecool7041
    @zecool70413 жыл бұрын

    really good explanation , better than most of videos that i have seen and better than my teacher's lecture , keep up the good work , greetings from algeria

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you for your kind words! Have a great day. 🙏

  • @Mohamed_Shabaik
    @Mohamed_Shabaik Жыл бұрын

    I don't usually make comments. but that was a really well-explained and interesting video, Thanks!

  • @taylan8973
    @taylan89733 жыл бұрын

    I rarely leave a comment but your explanation is just amazing. Good job

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks Taylan! 🙏

  • @marcellorossetticonti3002
    @marcellorossetticonti3002 Жыл бұрын

    Hi Kie, congratulations on the clarity of your explanation. It gave me some suggestions on how to improve the way I explain these algorithms. I work in Italy as a physics researcher and in my group we routinely employ these kinds of algorithms to optimize the performance of particle accelerators redesgning them (with a similar approach to the antenna problem you mentioned). I can confirm that they work wonders at solving systems whose dynamics are extremely complex (especially when due to highly correlated variables)! I wanted to tell you that in our code we apply elitism as the last thing (even following mutation) to be sure that the best fitness value never goes down in subsequent generations. If you apply mutation later, you risk losing the best solution from the previous cycle. Nothing catastrophic though, the genetic information to reconstruct the best solution is mixed in the rest of the population anyway and will probably re-emerge soon anyway.

  • @mgwyndolin4262

    @mgwyndolin4262

    Жыл бұрын

    Hi thanks for sharing your insight! It is very instructive and helps me clarify the confusion about the top performers of the previous generation being mutated instead of kept intact in the video. But this video really offers a great explanation.

  • @rafaelpmimoso
    @rafaelpmimoso2 жыл бұрын

    Much love for your work!!!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @HarunFarah
    @HarunFarah Жыл бұрын

    Great vid done a better job at explaining than a university lecturer

  • @KieCodes

    @KieCodes

    Жыл бұрын

    Thank you very much!

  • @robert__
    @robert__3 жыл бұрын

    Really good video, thank you so much, subbed

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @ouahidalalga9437
    @ouahidalalga9437Ай бұрын

    Just Wow! Hats off to you, that's a great explanation.

  • @KieCodes

    @KieCodes

    Ай бұрын

    Thanks a lot!

  • @pranshujayswal1458
    @pranshujayswal14583 жыл бұрын

    THANK YOU so much!! AMAZING VIDEO.WORTH THE TIME!!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks for your kind words!

  • @sevdalink6676
    @sevdalink66765 ай бұрын

    Whoah men! You fascinated me. What a level of explanation.

  • @KieCodes

    @KieCodes

    5 ай бұрын

    Thank you. I hope it helped. 🙏🫡

  • @aaradhyanegi639
    @aaradhyanegi6394 ай бұрын

    I've never learned anything in this way I love it!

  • @KieCodes

    @KieCodes

    4 ай бұрын

    I am glad to hear that!

  • @rajathalexander406
    @rajathalexander4063 жыл бұрын

    best possible explanation, became ur FAN

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you and welcome! 🙏

  • @brendanmcnamara8648
    @brendanmcnamara86483 жыл бұрын

    Beautifully explained, thank you

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you for your kind words, Brendan. 🙏

  • @danmiller4091
    @danmiller40913 жыл бұрын

    Thank you very much great explanation!!!!!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    You are more than welcome my friend. 🙏 Rock on! 🚀

  • @hoaralatoan845
    @hoaralatoan845 Жыл бұрын

    What a fantastic explanation! Clearly explain GA. Can you tell me what classical problem inspired you about the "backbag problem" in 0:23?

  • @KieCodes

    @KieCodes

    Жыл бұрын

    Hey. Thank you. The knabsack problem.

  • @user-kk6tl7dm5c
    @user-kk6tl7dm5c Жыл бұрын

    Really well explained. I will appreciate it if you can make a project to solve time table scheduling problem with genetic algorithm.

  • @shauryan23
    @shauryan23 Жыл бұрын

    Great Explanation!!!👏

  • @KieCodes

    @KieCodes

    Жыл бұрын

    Thank you!

  • @harishsingh5225
    @harishsingh52253 жыл бұрын

    Explained brilliantly.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you so much. 🙏

  • @mcbot1344
    @mcbot13443 жыл бұрын

    Wow this is incredibly helpful for my exam. Keep up the good work! Greetings from Germany

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you for your kind words, Mc Bot. 🙏

  • @AMHolland
    @AMHolland Жыл бұрын

    Great video! just a question. at 6:18 when you get the best two in that generation. What are you replacing the rest with?

  • @AMaoR14
    @AMaoR142 жыл бұрын

    This was awesome. Great explanation. thanks !

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    You are more than welcome my friend. 🙏 Rock on! 🚀

  • @hzmuhabbet
    @hzmuhabbet3 жыл бұрын

    Great explanation dude, thanks so much.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    You are more than welcome my friend. 🙏 Rock on! 🚀

  • @Felicia-126
    @Felicia-126 Жыл бұрын

    Amazing video, thank you.

  • @KieCodes

    @KieCodes

    Жыл бұрын

    Thank you. 🙏

  • @marco.nascimento
    @marco.nascimento3 жыл бұрын

    Excellent explanation, such an interesting topic!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    It is right? Thanks again! 🙏

  • @roylevy178
    @roylevy1783 жыл бұрын

    Great explanation man! thank you :)

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you! You are welcome. 🙏

  • @charlesplate6728
    @charlesplate67282 жыл бұрын

    Great explanation, thank you!!😀

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @pokpikchan
    @pokpikchan2 жыл бұрын

    Very nicely explained

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏

  • @shahlaanasab2898
    @shahlaanasab28983 жыл бұрын

    You are amazing! Thank vey much for this excellent explanation.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    You are more than welcome my friend. 🙏 Rock on! 🚀

  • @yelamankarassay
    @yelamankarassay3 жыл бұрын

    Great You helped me in my HW assignment.

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    You‘re welcome.

  • @ammarazlan2919
    @ammarazlan2919 Жыл бұрын

    Thank you so much! Please do Clonal Selection Algorithm next please...!

  • @imanelamnaoir590
    @imanelamnaoir590 Жыл бұрын

    Dude, you 're just amazin

  • @bernatmoleroagudo851
    @bernatmoleroagudo8512 жыл бұрын

    Hahaha thanks a lot for your video and also for how you explain it! It was really funny the video of the locomotion for bipedal creatures. I understood the basics so thanks!

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Thank you. 🙏 I am glad you liked it!

  • @DerClaudius
    @DerClaudius2 жыл бұрын

    Good overview. I would suggest a fitness function that goes negative for non-solutions, so even if you have no solution, because the problem is so hard, you still keep the genomes that are closest to a real solution. With having fitness=0 for all non-solutions, you can't distinguish how bad or close the genomes are.

  • @KieCodes

    @KieCodes

    2 жыл бұрын

    Good idea! Thank you. 🙏

  • @user-ll7el5xp7d
    @user-ll7el5xp7d3 жыл бұрын

    You're awesome! I don't speak English as well, but your explanation is really good, and I understand the main idea!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thank you. 🙏

  • @danielfortesque3536
    @danielfortesque35363 жыл бұрын

    Fantastic work bro!

  • @KieCodes

    @KieCodes

    3 жыл бұрын

    Thanks a lot!

  • @bryan_truong
    @bryan_truong2 жыл бұрын

    Great video. Can you explain the stopping condition that you used when calculating the runtime and accuracy? How did the GA code know when to stop?

  • @michalmokros

    @michalmokros

    2 жыл бұрын

    I believe it was either when the fitness function produced 100% accuracy or when the number of generations was 100. But the logic behind the fitness function is beyond me.

  • @adityagarg2185

    @adityagarg2185

    Жыл бұрын

    @@michalmokros The logic is pretty straightforward. If all the weight added up is greater than the allowed weight, return 0. Otherwise multiply the weight of each item with the value associated with it and return that number The higher the better

Келесі