AI Teaches Itself to Play Flappy Bird - Using NEAT Python!

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 198

  • @TechWithTim
    @TechWithTim  5 лет назад +85

    Hope you guys enjoyed the video! Just wanted to mention again that a lot of aspects of the NEAT algorithm were left out of this video. I wanted to make the examples as simple as possible to ensure even the beginners had an idea whats going on. If you want to learn more about it consider reading this paper: nn.cs.utexas.edu/downloads/papers/stanley.ec02.pdf . Finally, if you like this kind of video and want to see more let me know!

    • @ishansharma1511
      @ishansharma1511 5 лет назад +1

      It's amazing how simply you explained it!

    • @cruiseengineer
      @cruiseengineer 5 лет назад +2

      can you please do this project like you explained pygame tutorial..?

    • @Stinosko
      @Stinosko 5 лет назад +1

      It's very NEAT explained 😄 I love this way of teaching 😁

    • @tahabouziane9560
      @tahabouziane9560 5 лет назад +1

      Definitely like this kind of videos ! can you make tutorials with more details ? keep it up dude (y)

    • @lamkuen
      @lamkuen 5 лет назад

      I've been looking for NEAT explanation and yours is the most easy to understand. Thanks so much! I guess NEAT is a very promising AI algorithm for developing general AI. Isn't it? Also, could your code run on Google Colaboratory or it needs some fine-tuning. Thanks!

  • @mihirsampat7624
    @mihirsampat7624 4 года назад +10

    Loved the way you taught this entire tutorial. You taught in such a simple method, Really appreciate your efforts man! Looking forward to more tutorials!

  • @ANEEQHKHAN
    @ANEEQHKHAN 5 лет назад +6

    Amazing video! As a DevOps engineer with python knowledge I feel this video is extremely valuable for me. Thank you for sharing this!

  • @ianselley2725
    @ianselley2725 3 года назад +6

    Love this style of video!! Keep doing whatever you want to do. You'll always do it great!!

  • @pranavshridhar452
    @pranavshridhar452 5 лет назад +6

    Excellent stuff. Keep up the great work buddy.

  • @calebarulandu3068
    @calebarulandu3068 5 лет назад +14

    Great Video Tim! I think that making a step-by-step tutorial on NEAT or maybe even doing this project from scratch would be really helpful. It would probably take a good chunk of time, but I think it would be really useful.

  • @draker67
    @draker67 4 года назад +2

    Wow, this is just awesome. Code bullet's videos are pure entertainment
    Yours is worth a gazillion more from a learning perspective. Plus I actually find this very entertaining too.

  • @moejoe1996
    @moejoe1996 5 лет назад +3

    It is really nice how you explain things, i've seen this AI in other channels but didn't understand them. But when you do, I understand EVERYTHING! thanks Tim!

  • @armandtvanzyl4544
    @armandtvanzyl4544 5 лет назад +4

    DUDE! I just really want to thank you, you've made my life and my journey SOO much easier, and your really inspiring me to do amazing things. You are one of the best teachers I've ever seen!

  • @rakshithyadhav7274
    @rakshithyadhav7274 5 лет назад +15

    The way you teach is really good. Hope to get more of ML and AI stuff from the channel . Thanks 👍

  • @RRKS_TF
    @RRKS_TF 5 лет назад +4

    I would honestly love to see a series on how you got to this point

  • @PH_SPO
    @PH_SPO 5 лет назад +4

    Guy, first time here.
    Excellent explanation on the topic. Great job!

  • @오오오오옹-o2z
    @오오오오옹-o2z 5 лет назад +1

    It was super easy to understand Thank you for this vid. You kinda saved my life.
    I used your explanation on NEAT for my school project and added your link to it.
    It's not a big project just a small presentation but still you're a life savior.

  • @novicetech1
    @novicetech1 5 лет назад +1

    Absolutely love this approach. Please do more like this. You make really complex subject easier to understand and digest. Thanks.

  • @anakinskywalkerrr
    @anakinskywalkerrr 5 лет назад +6

    Finally, games and AI. The two most interesting thing in programming

    • @playerscience
      @playerscience 3 года назад +1

      Yes Yes!!! Completely Agreed 💯👍👍👍

  • @Nick-jb9jn
    @Nick-jb9jn 5 лет назад +1

    This was a fantastic introduction to AI and how NEAT works. I would love to see more videos about using NEAT in different games in the future. I found your channel a few days ago and instantly subbed, your content is well structured and easy to follow. I look forward to watching more of your videos. Keep up the great work!

    • @TechWithTim
      @TechWithTim  5 лет назад

      Thanks Nick! Really appreciate that :)

  • @abeechr
    @abeechr 5 лет назад +4

    Outstanding! I’d love to see more!

  • @fadop3156
    @fadop3156 5 лет назад +9

    You always upload the videos i need

  • @parsahosseini4241
    @parsahosseini4241 5 лет назад +2

    Hey Tim, I beg you to do a machine learning and deep learning tutorial, all the resources and tutorials on internet are either too old or too complicated, but your teaching style... it's just amazing, and it's not just me, I'm sure many people would love a machine learning tutorial from you, you made this concept so easy to understand that I'm sure I wouldn't get it if I were watching another machine learning tutorial on udemy or coursera!, I will be soooooo happy if i hear that you're working on a machine learning tutorial.
    Thanks a lot for your free content man.
    PS: like the comment to show Tim that we want him a machine learning tutorial 😄😄😄

    • @TechWithTim
      @TechWithTim  5 лет назад +2

      Guess what?! I have one already! On both machine learning and deep learning

    • @parsahosseini4241
      @parsahosseini4241 5 лет назад

      @@TechWithTim Yeah! I haven't been on RUclips for about 3 months and you've published so many new content that I'm gonna watch them all! Love it😍 Thanks a lot, and.... my bad for not being aware of your videos.
      BTW, just another question, are going to explain the different types of neural networks? I don't know them but a heard some of their names, like recurrent neural networks and others?
      I'm gonna check your deep learning playlist every day😄
      THANKS A LOTTTTTT!

  • @williamikennanwosu
    @williamikennanwosu 2 года назад

    Good effort Tim, well done!

  • @kenchang3456
    @kenchang3456 5 лет назад +1

    YES, I definitely agree with the style you used to explain this subject. And if you can do a NLP video series I would really appreciate it.

  • @devendradesai1597
    @devendradesai1597 5 лет назад +24

    Love the channel.. looking forward for a tutorial for the above project..😊

    • @ke_1234
      @ke_1234 5 лет назад

      Yes! Would love to Watch him teaching the code details

  • @harshdeeptelang127
    @harshdeeptelang127 3 года назад

    Thanks bro! i genuinely appreciate your hard work on this video!

  • @sotospeak6741
    @sotospeak6741 4 года назад

    one of the only good explaination channels iv seen

  • @abhyudayaagarwal589
    @abhyudayaagarwal589 2 года назад

    I know i am late but please make every video u make like this one. Mind blowing

  • @mayurchavhan8590
    @mayurchavhan8590 4 года назад

    Excellent explanation on AI using a simple example, No Wonder Microsoft hired you. Keep up the great work. Love from India

  • @michealhall7776
    @michealhall7776 5 лет назад

    Yes, some of your other videos are boring but this is a really good style. Well prepared. Looking forward to the next lesson in the series showing how to make this ourselfs

  • @jahnavithota1949
    @jahnavithota1949 4 года назад

    Hey Tim, Your tutorial series is amazing! Learnt a lot. Continue making more and more tutorials!!

  • @Finn-jp6pn
    @Finn-jp6pn 5 лет назад +1

    Really enjoyed this. I'd love to see more ML content on your channel.

  • @purnenduroy8796
    @purnenduroy8796 5 лет назад

    That was awesome.. Need to see more of your videos

  • @redapple0007
    @redapple0007 5 лет назад +1

    your video and new style was so good. Keep it up!!

  • @alan-alan-
    @alan-alan- 4 года назад

    This video is awesome. Thanks Tim for all your content. Keep going!

  • @PeTerVampirism
    @PeTerVampirism 4 года назад

    Tim, you sir deserve a LOVE not just a like. Thanks man you're a genius, and I've learned a lot from you. Keep Going bro !!!

  • @pratyushtripathy2750
    @pratyushtripathy2750 5 лет назад +5

    Nice video Tim. Would be great to try on own. Thanks much! Keep posting!

  • @pampam6622
    @pampam6622 4 года назад

    Thank you Tim, i really enjoy learning python by watching your videos!

  • @RandomShowerThoughts
    @RandomShowerThoughts 5 лет назад +5

    Definitely make a tutorial on this! This is way too interesting of a topic

  • @Mark-lp9ke
    @Mark-lp9ke 4 года назад

    Cant wait for the project tutorial! 😍

  • @xxalienxx9541
    @xxalienxx9541 5 лет назад +1

    I though it would look complicated but you explaines it really great.

  • @antiRuka
    @antiRuka 5 лет назад

    Best explanation on the net so far!

  • @ishansharma1511
    @ishansharma1511 5 лет назад +1

    This is something new for me and I liked it. Make more videos of this type!! Thank you!!

  • @sautante
    @sautante 5 лет назад +1

    This video was so good, please make more! :D

  • @idatewang6205
    @idatewang6205 5 лет назад

    Great video! Definitely hoping to see more of those😃

  • @arbazkhan8320
    @arbazkhan8320 5 лет назад

    Really great video tim please make more videos like this

  • @ChristianZenker
    @ChristianZenker 5 лет назад

    Thanks for this Video. Currently im working throug your pythong Videos (my target is a own written AI ^^ ) and currently youre (for me) the best python and python (pygame/ai) teacher.
    Thanks for making this videos :-)

  • @alexanderhuliakov6012
    @alexanderhuliakov6012 5 лет назад

    Wow, one of best "begginer" videos about neural networks.

  •  5 лет назад

    Very clear. Well done! Best video on this topic. Thanks.

  • @schogaia
    @schogaia 5 лет назад +16

    Random comment for the RUclips algorithm to rank your video better

    • @TechWithTim
      @TechWithTim  5 лет назад +3

      Appreciate it!

    • @schogaia
      @schogaia 5 лет назад +2

      @@TechWithTim what I didn't add: I really enjoy this series - I started with python 6 months ago and you explain everything really well.
      Thank you!

  • @黃冠綸-t5i
    @黃冠綸-t5i 5 лет назад

    Thanks a lot for sharing flappy bird programming lines in detail. Your vid is of great help to my project.

  • @RandomShowerThoughts
    @RandomShowerThoughts 5 лет назад +2

    Amazing. I’ve always wondered how this was done.

  • @zach-7102
    @zach-7102 4 года назад

    Incredibly helpful, thanks so much

  • @21abdullah89
    @21abdullah89 5 лет назад

    Awsome Man. I would recommend as Ai is getting more and more popular espacially even in game so at least upload a video here and there on more games and Al implementing on that game..
    As always Great effort man and great work

  • @adarshsingh764
    @adarshsingh764 5 лет назад +34

    Code bullet is more entertaining than informative, i like this better.
    EDIT: it's almost the same, but less enjoyable

  • @user-tz3di7he8f
    @user-tz3di7he8f 5 лет назад

    Honestly, you explained it amazing

  • @Zanecronium
    @Zanecronium 3 года назад

    New sub this was so helpful I have never seen someone explain it in a way i can understand AND give code AND like a source
    thank you so much!
    Edit: AND THE MODULER????

  • @Sanyapantyukhin13
    @Sanyapantyukhin13 5 лет назад

    Tim, thank you for such great vids!

  • @wesleyteenwesley
    @wesleyteenwesley 5 лет назад

    Amazing content, simple and beautiful explanation

  • @marco.nascimento
    @marco.nascimento 5 лет назад

    Nice video, very entertaining and informative at the same time

  • @sirwilliamhenry
    @sirwilliamhenry 5 лет назад

    Awesome content, man!
    U the best!

  • @shardulsilswal1140
    @shardulsilswal1140 5 лет назад

    Thank you for explaining so clearly. I am gonna try this on my own now.

  • @DevendraSingh-jt8qj
    @DevendraSingh-jt8qj 5 лет назад

    good job man! post more to learn

  • @frankmessina7475
    @frankmessina7475 7 месяцев назад

    I am going to try to make this as well, thanks for the info. I would love to see a video of how you went about coding it.

  • @zackhoudache9539
    @zackhoudache9539 5 лет назад

    goooood joob u have a good sense of teaching keep doing these video all the best

  • @SuperArinc
    @SuperArinc 5 лет назад +2

    More game creating videos please! 😄

  • @rutvikrana512
    @rutvikrana512 4 года назад +3

    You should do this kinda intro videos ... it will bring us to your playlist 💕💕💕

  • @ishaankalsi
    @ishaankalsi 5 лет назад

    I love how you presented! Would try to replicate in my workshops.

  • @novicephiladelphia.d4788
    @novicephiladelphia.d4788 5 лет назад

    OMG that's what I really want to learn. Using AI to play games wow. look forward to your tutorial about this and other methods to make ai to play different games like capturing the frame and analyse👍👍

  • @vulturebeast
    @vulturebeast 5 лет назад

    Really awesome, subscribed. 🥂👍

  • @rynexakil7443
    @rynexakil7443 4 года назад +1

    thx for the video , i was hoping that it's more than one Perceptron connection ...... i think that if you put a victor or a ray from the eye's and let it see as it's go's up and down where the gap is, it will be smarter rather than given it where the gap is. thanks again

  • @pranavkarthikeyan783
    @pranavkarthikeyan783 5 лет назад

    Keep up the great work!

  • @technical_research_hacks
    @technical_research_hacks 4 года назад

    I'm mechanical engineer but I'm just curious about how it works.... Good work bro

  • @AgentRex42
    @AgentRex42 5 лет назад

    Can't wait to see your tutorial if you will make it ! ;)

  • @minindusheheran6624
    @minindusheheran6624 4 года назад

    Explained really well :) :)
    Thankyou..!

  • @DAJakaRedAries
    @DAJakaRedAries 5 лет назад

    Gonna try this on my own. Thanks!

  • @emilievaneps8858
    @emilievaneps8858 5 лет назад

    Nice video! Thanks!

  • @usmanbinabdurrasheed5949
    @usmanbinabdurrasheed5949 4 года назад

    You are simply awesome!!!

  • @ishaangupta6572
    @ishaangupta6572 5 лет назад

    Nice video man

  • @cabennetts
    @cabennetts 5 лет назад

    Great video!

  • @brute505
    @brute505 5 лет назад

    keep doing this style

  • @patloeber
    @patloeber 5 лет назад

    Nice Video!

  • @exa4564
    @exa4564 2 года назад

    I liked the style of the video, but some code-example would have helped to understand how to implement NEAT into a game

  • @JosePerez-qt8cf
    @JosePerez-qt8cf 5 лет назад

    Excellent vídeo and explanation I would like more vídeos of ML and DL
    Thanks a lot

  • @yes.0
    @yes.0 4 года назад

    Very Good work done

  • @AlamKhan-yt9wd
    @AlamKhan-yt9wd 5 лет назад

    Great explanation

  • @XxNinjaLimeXX
    @XxNinjaLimeXX 4 года назад

    As someone who has learned a bit of python for work even though it's outside my field, but has become interested in machine learning this is really fantastic. ML is super interesting to me and NEAT is wild. I've run the source code and it feels like magic so I've really gotta dive in and try to get a handle on whats going on. Classes are still something I'm not confident with lol. You've certainly earned a like and a subscriber though. Thank you for the video.

  • @maedre4966
    @maedre4966 4 года назад

    good job thank you for sharing codes

  • @neilleonard5781
    @neilleonard5781 5 лет назад

    Great video! Some of the other NEAT based projects don't share their code, so I am excited to get my hands dirty. Is this an open source project that is interested in Pull Requests? Either way thanks for the video!

    • @TechWithTim
      @TechWithTim  5 лет назад

      Ya for sure! Send the pull requests :)

  • @raymarkdelpuerto9094
    @raymarkdelpuerto9094 6 месяцев назад

    love this one!

  • @valentin0000
    @valentin0000 4 года назад

    8:52 my left ear just died

  • @dylancampbell8671
    @dylancampbell8671 5 лет назад

    Is it possible to to make a video going through the code and explaining everything from to perspective of the code?

  • @Capitalust
    @Capitalust 5 лет назад

    This was dope af

  • @stonez56
    @stonez56 5 лет назад

    Great video, Tim! I just subscribed this channel. Could you do a tutorial on car licensing plate recognition, both on video and still images. Thanks!

  • @MatrixVor
    @MatrixVor Год назад

    Amazing video. I'm curious about what made you pick "> than 0.5" as a threshold to jump? Could it be 0 or any other numbers (like -0.5 or -0.7). Thank you so much.

  • @technoinfoworldwide2329
    @technoinfoworldwide2329 5 лет назад

    finally I m gonna learn AI from your channel..will you describe the code of this bro in next video..?

    • @TechWithTim
      @TechWithTim  5 лет назад +2

      Yep! Planning a full series on this project

    • @technoinfoworldwide2329
      @technoinfoworldwide2329 5 лет назад

      @@TechWithTim cool bro..I wanna learn AI from this project,I hope you will describe slowly and effectively so that we can catch you.waiting for series!!

  • @khalilj.9051
    @khalilj.9051 4 года назад

    Hi Tim
    I wonder if this NEAT-python AI-programming adaptable for numbers and statistic, able to find patterns in massive data of numbers and combinations? Thanks a lot for your great content..

  • @pawelpawelec1419
    @pawelpawelec1419 4 года назад

    Yeah I want more! :D

  • @thecoone2797
    @thecoone2797 4 года назад

    So in the beginning you give random weights for the starter population right. But in what range do you choose those starter weights?
    Also, usually when i see video's like this one there is also a hidden layer in the network. What is the benefit of that hidden layer, if it works without one like you did?
    EDIT: i tried using starter weights and bias of random value between -0.5 and 0.5, but the birds didn't learn anything. I dont really know if i should do something with my distances before passing them to the weighted sum? I get like random values of -200 to 200 for distances

  • @bopynyt640
    @bopynyt640 5 лет назад

    Great video! I’ve never programmed and I’m 17 but recently I’ve gained interest, especially in AI and ML. What would you recommend to learn these things that start at the most fundamental level because i learn best that way.

    • @TechWithTim
      @TechWithTim  5 лет назад

      Well I do have a course of fundamental programming with python

  • @Pythonenthusiast
    @Pythonenthusiast 5 лет назад

    I am just thinking out loud, would it be possible to have this work with knowing only the position of the bottom pipe and the bird y position? I guess that we can base the jump/not jump decision, based on those 2.

  • @lautarodapin
    @lautarodapin 5 лет назад

    Excellent!

  • @andrey1652
    @andrey1652 5 лет назад +3

    Can you please explain how do i find out the value of the activation. in this case 0.5 Thanks!