Added: 1 year ago
From: aruggles
Views: 2,197
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (14)

Sign In or Sign Up now to post a comment!
  • Does it get a small punishment for each jump / fire? Because it seems to randomly jump all the time as if it's a free operation.

  • The interessting part is to see how it would behaiv on a map that it has never played before..

    But I'm guessing this does not take in the enviroment variables except for like "cant move forward" and such?

  • @GamersDreamGame The above video is showing the AI playing on levels it was not trained on. In other words, never seen before. The inputs to the neuronet is the environment and the output are the button pushes that any person would use. It doesn't understand can't move forward.

  • How did you train it?

  • @lzrd0113 For this network, I used a combination of a genetic algorithm and simulated annealing algorithm. Basically I let the genetic algorithm run for a number of generations, then I took a group of the best and ran them through a simulated annealing algorithm. Using the genetic algorithm alone was taking too long to train. The simulated annealing was much faster but often got stuck more. So I combined the two.

  • @aruggles See my Q-learning version :D

  • Has it peaked in skill or would it improve if it continued learning over the course of, say, a year?

  • @mutehero7 It might, however what I noticed is that as it was trained it would make large leaps and then very little progress. That continued the longer I trained it. Of course the intervals between each change became longer and longer, while the leaps in progress became smaller and smaller. I'm not sure that training it for a year would make it that much better. Working on more efficient training algorithms would probably be better.

  • @aruggles Interesting. Thanks.

  • What are the inputs of the network ?

    I used NN a for the computer ships in my game.

  • @pascalkn The input is a 9x9 2d array merged to contain tile/enemy information normalized between 0 and 1. I also included some status information like, can mario jump (0, 1), mario status (0 - small, .5 - large, 1 - fire). You can go to marioai.org and download the software that I used. All my inputs are real values between 0 and 1 and my outputs are real values between 0 and 1 (anything greater than .5 presses a button any thing less does not).

  • Very nice, your mario playes pretty good.

  • @pascalkn Thanks. It took over 48 hours to train this particular network.

  • noce

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more