Neat - Java Implementation 1

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

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

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

    Man, you deserve more views and subscribers, your content is of very high quality ....bro keep it it up and thank you !!!!!!!!!!

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

    I've been waiting for this! Loved your last video on NEAT

  • @jimy1352
    @jimy1352 3 года назад +2

    Thank you so much man, I'm doing a research paper on it and I really needed a good start. You're the best!

  • @florian7162
    @florian7162 5 лет назад +7

    Been looking forward to this very long, thank you so much!

  • @75hilmar
    @75hilmar 3 года назад +1

    Oh I was hopin to see more Python programming here... Maybe at a later time.

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

    In the RandomSelector class the method random() shouldn't ever return null right? I ask as I am running into the problem where when I have a very small population like 5 for example, the reproduce() method in the neat class uses random() to obtain a random species. But it ends up getting null which causes problems when assigning a new genome to a client via the breed() method. Is there a workaround you recommend?

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

      Yes I had this problem aswell but I think i fixed it in a newer implementation. See the email I sent you.

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

      Actually it only returns null if the score is 0 and there is atleast one object. So you can use >= and it will never return null.
      public T random() {
      double v = Math.random() * total_score;
      double c = 0;
      for(int i = 0; i < objects.size(); i++){
      c += scores.get(i);
      if(c >= v){
      return objects.get(i);
      }
      }
      return null;
      }

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

    Hi Finn, the code cannont be unzipped on my side. Is there any other other to access these codes?

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

    Damn this is amazing!

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

    Do you have a higher quality recording? Or maybe a copy of the code on GitHub? Edit: It was just processing, the video is uploaded in high resolution now! :)

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

      the video is still processed. It has been uploaded in 4K i believe. Just wait a few minutes

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

      @@finneggers6612 Oh that's my bad, it shows above 360p now.

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

    Is the code download broken? The resulting RAR being served up is 0 bytes.

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

      seems like it. Sadly I do not find my src files on my computer. But I think that in one of the future videos I uploaded it somewhere different!

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

      This is from video4 and seems to be working:
      mega.nz/#!W3RxGIKa!Ajx2r9hwYQ...

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

      @@finneggers6612 Yeah, looks like there's code on GitHub at github.com/Luecx/NEAT under an MIT license. Thanks!

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

      @@warrenhenning8064 Oh Yeah I actually had that in mind but didnt find it. It's been some time since I have done these videos :)

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

    Great video. At least great start :) I've been waiting too Finn! Thanks :D

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

    Very nice! :D Will you do the same thing with python or C++?

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

      511break probably not. Everything has been coded in python 500 times and the web is flooded by python code.
      These videos are mainly for understanding the concepts and I think java is best suited for that.

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

    Thanks a lot for the tutorial. I've always wanted to know that =)

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

    Hey, man! Your videos are pretty nice, but the archive with source code is empty on Mega (size is 0 byte, WinRar shows error). Can you reupload the source code?

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

      Anatolii Davydko oh really? Thanks for telling me. I will reupload ASAP. You can get the source files in video 3. I checked if they are correct and they are :)

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

      @@manju_kura yes i am german.
      No you dont need tha tmany inputs.
      you can inputs from the snakes head view.
      I posted a video about this.
      Feel free to watch that

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

    Nice, new video!

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

    AWESOMEEEEEEEEEEEEEEEE :)

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

    Your file has a size of 0 bytes on mega.nz so you might want to change it to make the source easier accessible
    But still thank you for showing this! ;)😃

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

      geile katze ! Yeah I realised. Look at video 3 or upwards. You should find a working link there which contains all src folders since video 3

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

    OMG YES! thank you so much!