Genetic Algorithms Explained By Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 465

  • @KieCodes
    @KieCodes  4 ปีที่แล้ว +35

    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 4 ปีที่แล้ว +1

      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 ปีที่แล้ว

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

    • @rickyricardo75
      @rickyricardo75 4 หลายเดือนก่อน

      very interesting ! let us know if you applied this to trading !

  • @kx9473
    @kx9473 3 ปีที่แล้ว +202

    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  3 ปีที่แล้ว +6

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

    • @Vaderir
      @Vaderir ปีที่แล้ว +3

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

    • @Terra_Cognita
      @Terra_Cognita ปีที่แล้ว +3

      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 ปีที่แล้ว +2

      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 8 หลายเดือนก่อน +3

      This is why I love watching TH-cam. 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
    @sergioseco9835 4 ปีที่แล้ว +103

    this deserves a million views

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว +3

      Thanks Sergio 🙏

    • @michaelfekadu6116
      @michaelfekadu6116 3 ปีที่แล้ว +3

      I agree

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว +3

      Thank you. 🙏

    • @matt-g-recovers
      @matt-g-recovers 3 ปีที่แล้ว +2

      not joking!

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว +1

      @@matt-g-recovers Thanks as well! 😅

  • @xandrovich5976
    @xandrovich5976 3 ปีที่แล้ว +24

    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  3 ปีที่แล้ว +1

      Thank you so much! 🙏

  • @abdullahsheriff_
    @abdullahsheriff_ 2 ปีที่แล้ว +5

    According to me, his video is THE BEST explanation on TH-cam 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  2 ปีที่แล้ว

      You are more than welcome! Enjoy your studies!

  • @adityagarg2185
    @adityagarg2185 2 ปีที่แล้ว +23

    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?

  • @evrmk
    @evrmk 2 ปีที่แล้ว +4

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

  • @zacrobyte
    @zacrobyte 3 ปีที่แล้ว +6

    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.

  • @eddazzo
    @eddazzo 3 ปีที่แล้ว +5

    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  3 ปีที่แล้ว

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

  • @lohithkandukuri5579
    @lohithkandukuri5579 2 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you very much! 🙏🙏🙏

  • @BehniaFB
    @BehniaFB 3 ปีที่แล้ว +4

    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!

  • @willboler830
    @willboler830 3 ปีที่แล้ว +21

    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.

  • @subpixelsalt7648
    @subpixelsalt7648 4 ปีที่แล้ว +7

    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  4 ปีที่แล้ว +1

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

  • @CristalMediumBlue
    @CristalMediumBlue ปีที่แล้ว +2

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

  • @colinmignot6309
    @colinmignot6309 3 ปีที่แล้ว +15

    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  3 ปีที่แล้ว

      Thank you. 🙏

  • @MaTrOoOoD
    @MaTrOoOoD 4 ปีที่แล้ว +5

    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  4 ปีที่แล้ว +1

      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  4 ปีที่แล้ว

      And thanks for subscribing! One sub closer. ☺️

    • @MaTrOoOoD
      @MaTrOoOoD 4 ปีที่แล้ว +1

      @@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!

  • @vasachisenjubean5944
    @vasachisenjubean5944 3 ปีที่แล้ว +6

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

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @kr0tyara
    @kr0tyara 3 ปีที่แล้ว +4

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

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @MeANDmyPETgoat
    @MeANDmyPETgoat 4 ปีที่แล้ว +5

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว +1

      Thanks for your kind words. 🙏

  • @seriouscoder1727
    @seriouscoder1727 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Wow. Thank you for your kind words! 🙏

  • @TarunRavi
    @TarunRavi 4 ปีที่แล้ว +20

    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  4 ปีที่แล้ว

      Thanks so much for your kind words. 🙏

  • @Joselo09111
    @Joselo09111 2 ปีที่แล้ว +4

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Great to hear! Thank you so much!

  • @samidahdouh7863
    @samidahdouh7863 10 หลายเดือนก่อน +1

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

    • @KieCodes
      @KieCodes  10 หลายเดือนก่อน

      Wow. Thank you. 🙏🎉

  • @georgeruellan
    @georgeruellan 4 ปีที่แล้ว +6

    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  4 ปีที่แล้ว

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

  • @aliticx
    @aliticx 4 ปีที่แล้ว +3

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      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.

  • @1stpatrickha
    @1stpatrickha 3 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @marflage
    @marflage 3 ปีที่แล้ว +2

    I can't thank you enough. Tomorrow's my AI exam and your video helped me prepare for it. I wish your channel explodes with magnitudes of subs. Thank you so much!

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว +1

      You are more than welcome my friend. 🙏 Rock on! 🚀 Good luck with your exam!

    • @marflage
      @marflage 3 ปีที่แล้ว

      @@KieCodes thanks!

  • @taylan8973
    @taylan8973 4 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thanks Taylan! 🙏

  • @BraidyMerkle
    @BraidyMerkle 4 ปีที่แล้ว +2

    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  4 ปีที่แล้ว +1

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

  • @r.ramirez1521
    @r.ramirez1521 2 ปีที่แล้ว +1

    Please don't ever go away. This was amazing

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you. 🙏

  • @mesticasamelapapna708
    @mesticasamelapapna708 ปีที่แล้ว +1

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

  • @paragvadhiya8019
    @paragvadhiya8019 2 ปีที่แล้ว +2

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      I really appreciate your kind words! 🙏

  • @kritagyagupta8619
    @kritagyagupta8619 3 ปีที่แล้ว +5

    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. ☺️

  • @SHUBHAMJHA-o3g
    @SHUBHAMJHA-o3g หลายเดือนก่อน

    This is the hands down the best video on genetic algorithms!

  • @arianalini8636
    @arianalini8636 ปีที่แล้ว +1

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

  • @thop7964
    @thop7964 2 ปีที่แล้ว +2

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you. 🙏

  • @diegocruz8187
    @diegocruz8187 4 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thanks Diego! 💪🙏

  • @fasaipuengudom5412
    @fasaipuengudom5412 2 ปีที่แล้ว +1

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

  • @mahdilatreche4501
    @mahdilatreche4501 3 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @marcellorossetticonti3002
    @marcellorossetticonti3002 2 ปีที่แล้ว +2

    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.

  • @sardororipov1302
    @sardororipov1302 3 ปีที่แล้ว +2

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

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @zecool7041
    @zecool7041 4 ปีที่แล้ว +1

    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  4 ปีที่แล้ว +1

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

  • @nishitpatel5686
    @nishitpatel5686 3 ปีที่แล้ว +1

    one of the best videos on genetic algorithm

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @BehniaFB
    @BehniaFB 3 ปีที่แล้ว +14

    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!❤)

  • @sevdalink6676
    @sevdalink6676 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  ปีที่แล้ว +1

      Thank you. I hope it helped. 🙏🫡

  • @srinivaskollipara1293
    @srinivaskollipara1293 4 ปีที่แล้ว +2

    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.

  • @rajathalexander406
    @rajathalexander406 4 ปีที่แล้ว +2

    best possible explanation, became ur FAN

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thank you and welcome! 🙏

  • @Mohamed_Shabaik
    @Mohamed_Shabaik ปีที่แล้ว +1

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

  • @alvaroarcelus8949
    @alvaroarcelus8949 ปีที่แล้ว +1

    Amazingly explained!! Thank you so much. 🙌

  • @daphnelenders4207
    @daphnelenders4207 4 ปีที่แล้ว +2

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thank you. Have fun, its a great tool!

  • @DerClaudius
    @DerClaudius 3 ปีที่แล้ว +4

    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 ปีที่แล้ว +2

      Good idea! Thank you. 🙏

  • @hansergonzalez6646
    @hansergonzalez6646 2 ปีที่แล้ว +2

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Glad you liked it! Thank you!

  • @Copybook
    @Copybook ปีที่แล้ว +1

    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

  • @annashchukina3768
    @annashchukina3768 3 ปีที่แล้ว +3

    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. 🙏

  • @TheTehniga
    @TheTehniga 2 ปีที่แล้ว +3

    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 ปีที่แล้ว +1

      Thank you. 🙏

  • @GlynisDance
    @GlynisDance 2 ปีที่แล้ว

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you!

  • @hoaralatoan845
    @hoaralatoan845 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว

      Hey. Thank you. The knabsack problem.

  • @karkalavigneshreddy2586
    @karkalavigneshreddy2586 6 วันที่ผ่านมา

    The concept has been explained with a great creativity skills ,The Music is coool, top notch explanation bro, love ❤from India.🕉

  • @chaosrider100
    @chaosrider100 3 ปีที่แล้ว +7

    All is fine and useful from this video and I will recommend it to my students as a quick introduction, BUT this is not natural selection - it is called "directed" or "purposeful" selection. It is similar to what you have in ML for supervised learning - there is an aim (manifested by the elitist genomes)... Natural selection works aimlessly and randomly. The biggest difference between the two is the speed of convergence - as Natural selection is a notoriously slow process.

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you for the clarification! 🙏

  • @HarunFarah
    @HarunFarah 2 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you very much!

  • @TWFDeadzoneII
    @TWFDeadzoneII 4 ปีที่แล้ว +2

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      It surely is. Have fun!

  • @ForTheOmnissiah
    @ForTheOmnissiah ปีที่แล้ว +1

    Wish you uploaded more. This is quality content.

  • @АндрейВикторович-т1л
    @АндрейВикторович-т1л 3 ปีที่แล้ว +1

    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. 🙏

  • @ouahidalalga9437
    @ouahidalalga9437 8 หลายเดือนก่อน +1

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

    • @KieCodes
      @KieCodes  7 หลายเดือนก่อน

      Thanks a lot!

  • @yasminejas5007
    @yasminejas5007 8 หลายเดือนก่อน +1

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

    • @KieCodes
      @KieCodes  8 หลายเดือนก่อน

      Glad it was helpful! 🙏

  • @avixx
    @avixx หลายเดือนก่อน

    You showed this in a way easy to understand! Thanks!

  • @aaradhyanegi639
    @aaradhyanegi639 10 หลายเดือนก่อน +1

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

    • @KieCodes
      @KieCodes  10 หลายเดือนก่อน

      I am glad to hear that!

  • @adinvella4665
    @adinvella4665 2 ปีที่แล้ว +1

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

  • @mcbot1344
    @mcbot1344 3 ปีที่แล้ว

    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. 🙏

  • @shouryaraj5913
    @shouryaraj5913 4 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thanks for you kind words! :)

  • @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?

  • @muhammadqaisarali
    @muhammadqaisarali 3 ปีที่แล้ว +1

    Start with a Problem presentation is a great way to learn.

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

    • @muhammadqaisarali
      @muhammadqaisarali 3 ปีที่แล้ว +1

      @@KieCodes welcome sir, it is a great video... Again heartiest thanks...

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว +1

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

  • @daesk
    @daesk 3 ปีที่แล้ว +2

    My teacher used 2 hours of class to explain what this man explained in 10 minutes, thanks

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว +1

      Thank you 🙏! Good luck for your studies. Take care.

  • @LonleyGuns
    @LonleyGuns 4 ปีที่แล้ว +2

    I like the way you explain algorithms.

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thank you for your kind words, LonleyGuns. 🙏 I put a lot of work into it. So that means a lot. What other algorithms are you interested in?

    • @LonleyGuns
      @LonleyGuns 4 ปีที่แล้ว +1

      @@KieCodes Pattern search like Hooke Jeeves would be great. Also, new programmers face problem which approach to use: objective function or array as input values into optimisation problem. Would be great to hear some advices when to use which method.

  • @catatanbethari1226
    @catatanbethari1226 4 ปีที่แล้ว +1

    Bro...
    You help me with my thesis...
    Thank you very very muuuch...

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      You are more than welcome, Catatan! 💪

  • @michellesainos3443
    @michellesainos3443 4 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thank you Michelle!🙏

  • @yelamankarassay
    @yelamankarassay 4 ปีที่แล้ว +1

    Great You helped me in my HW assignment.

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      You‘re welcome.

  • @johntravolta2655
    @johntravolta2655 2 ปีที่แล้ว +1

    Greeting from Polish college.
    Wish you the best :)

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว +1

      Thank you! To you too.

  • @hzmuhabbet
    @hzmuhabbet 3 ปีที่แล้ว +2

    Great explanation dude, thanks so much.

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

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

  • @pedrocamunas5625
    @pedrocamunas5625 3 ปีที่แล้ว +1

    I can see english is not your first language but still your pronunciation is really clear, thumbs up

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you

  • @TheCzarsoham
    @TheCzarsoham 4 ปีที่แล้ว +1

    Great video! Exactly what I was looking for!

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      I am sooo glad it helped you! 🙏

  • @junbongzz0523
    @junbongzz0523 2 ปีที่แล้ว +1

    I recommend this video to those who wants to simply know what GA is in 10min!!

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you. 🙏

  • @ragabnadim
    @ragabnadim ปีที่แล้ว +1

    Thank you for the video, will recommand to my students

  • @Abdul-RafayHamid
    @Abdul-RafayHamid ปีที่แล้ว +1

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

  • @ammarazlan2919
    @ammarazlan2919 2 ปีที่แล้ว +1

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

  • @marco.nascimento
    @marco.nascimento 3 ปีที่แล้ว +1

    Excellent explanation, such an interesting topic!

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      It is right? Thanks again! 🙏

  • @husnasyed7388
    @husnasyed7388 4 ปีที่แล้ว +3

    Is it possible for you to elaborate how to generate a fitness function for the problem you are trying to solve? That is where I find myself stuck

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Sure. In this problem I want to have the most value in my backpack whithout over-reaching it's capacity.
      So for each genome, that defines a set of items inside my backpack, I add all the weight. If the weight is already heavier than I can carry in my backpack, then the solution is not valid and its fitness is 0.
      If the weight of the set of items fits inside the backpack, I add up all the values of the different items and the accumulated value of all items is the fitness. So a genome with a solutions that provides more value is fitter than a solution that provides less.
      In my follow up video you will see the code explained and a link to a github repository in the description.
      I hope that helps. Happy coding!

    • @husnasyed7388
      @husnasyed7388 4 ปีที่แล้ว

      @@KieCodes so that means the mathematical function is that the sum of the weights must be equal to or less than 3 kg?
      I think I am struggling more because the last time I used C++ was 10 years ago! Alright now next question is that in your video each item is assigned a binary digit either 1 or 0. How do you decide which is 1 and which is 0? Sorry if that's a stupid question.

    • @husnasyed7388
      @husnasyed7388 4 ปีที่แล้ว +1

      @@KieCodes will check out your next video ! Thank you for being one of the people that help others without even knowing it.

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      The binary representation is to encode a solution. 0 means not inside the backpack and 1 means it is inside. These genomes are generated randomly. After that they are evaluated (fitness function) and recombined (crossover function) and slightly changed (mutation function) and thus way we get a new set of solutions/genomes.
      It is an algorithm based on the idea of evolution and it surprisingly works to get better and better solutions with every step of the process.
      I hope that clears it up a little but more.

    • @husnasyed7388
      @husnasyed7388 4 ปีที่แล้ว +1

      @@KieCodes yesss got it!! Thanks a lot!

  • @jiahaochang8628
    @jiahaochang8628 3 ปีที่แล้ว

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

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you! 🙏

  • @o.rudyemonvuon64
    @o.rudyemonvuon64 4 ปีที่แล้ว +1

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

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว +1

      Thank you for your kind words.

  • @charlesplate6728
    @charlesplate6728 3 ปีที่แล้ว +1

    Great explanation, thank you!!😀

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @brendanmcnamara8648
    @brendanmcnamara8648 4 ปีที่แล้ว +1

    Beautifully explained, thank you

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว

      Thank you for your kind words, Brendan. 🙏

  • @jennaperez9108
    @jennaperez9108 4 ปีที่แล้ว +1

    Great video Sir 💗 this help me a lot to better understand the concept of GA. We will use GA for our thesis paper

    • @KieCodes
      @KieCodes  4 ปีที่แล้ว +1

      Hey Jenna, thank you. Good luck with your thesis. 💪

    • @jennaperez9108
      @jennaperez9108 4 ปีที่แล้ว +1

      @@KieCodes thank you Sir have a nice day and keep safe!

  • @harishsingh5225
    @harishsingh5225 3 ปีที่แล้ว +1

    Explained brilliantly.

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you so much. 🙏

  • @shauryan23
    @shauryan23 2 ปีที่แล้ว +1

    Great Explanation!!!👏

    • @KieCodes
      @KieCodes  2 ปีที่แล้ว

      Thank you!

  • @MohamedHassan-xf5wb
    @MohamedHassan-xf5wb ปีที่แล้ว +1

    Really well explained

  • @johnostensen
    @johnostensen 2 ปีที่แล้ว +1

    "At some number of items, you wont only miss your flight, but the whole solar system would be gone" 😂

  • @AK-gx4fh
    @AK-gx4fh 3 ปีที่แล้ว +4

    Yey! now my mom can really know what i do for a living :)

  • @gruyere5638
    @gruyere5638 3 ปีที่แล้ว +1

    Man you're awesome, keep up the good work

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว

      Thank you. 🙏

  • @robert__
    @robert__ 3 ปีที่แล้ว +1

    Really good video, thank you so much, subbed

    • @KieCodes
      @KieCodes  3 ปีที่แล้ว +1

      Thank you. 🙏

  • @Reckless150681
    @Reckless150681 9 หลายเดือนก่อน

    8:56 Hi! Could you clarify what your metric of accuracy is? "How good the solution is compared to optimal one" - what is the optimal solution in this case? Is it the case where you put all items in the bag?

    • @itsmeagain1415
      @itsmeagain1415 9 หลายเดือนก่อน

      that's the fitness function he used probably, he didn't dive into any technical details anyways