This is an archive of a previous version of Sodarace.

Please visit http://sodarace.net for the latest version.

forum  |  »» sodaplay
 
»» forums  »» sodarace league forum

subject: AmeobaRace

271 replies on 19 pages. most recent reply: 13-Aug-07 22:55 by edlinfan

»» back to topic list  

This topic has 271 replies on 19 pages [ « | 1 ... 4 5 6 7 8 9 10 11 12 ... 19  | » ]
»» previous topic   »» next topic  


lxmorj

»» models
»» homepage

Re: AmeobaRace   posted: 08-Dec-03 22:57   »» 
HONESTLY sorry about all that-- just figured out how to preview posts.... but i did beat the God damn computer.

StefW

»» models
»» homepage

Re: AmeobaRace   posted: 10-Dec-03 07:38   »» 
AI strikes back!

After rewriting my program and running it all night (20000 evaluations), it's now down to 442 frames.

The difference with the last version of the program is instead of randomly trying to change spring lengths and muscle lengths, it is now possible to keep corresponding lengths the same. The optimization program starts with a template of a model and then generates XML files based on this template.

The optimization method I use is called "evolutionary programming", which is similar to genetic programming but without crossover. The population size I used is 100 models.

The algorithm works as follows:

1. Initialize the initial population by reading the template model from disk.
2. Evaluate the models in the population.
3. Select 5 random models from the population.
4. From these 5 models, select the best and the worst model (this is called tournament selection).
5. Replace the parameters of the worst model with the parameters of the best model and add a small random change.
6. This random change consists of randomly selecting one parameter, and adding a normally distributed random number to it. For the spring lengths, muscle lengths, mass position and velocity, the standard deviation is 1.0. For all other parameters, the standard deviation is 0.01.
7. Evaluate the newly created model.
8. Goto 3



race: http://sodarace.net/upload/StefW/mountainrace442.jnlp

paul123456

»» models

Paul   posted: 11-Dec-03 21:48   »» 
its paul

Rocket

»» models

Re: Paul   posted: 14-Dec-03 05:21   »» 
I'm getting different results between on and offline races!

These little guys only took 150 generations to get ~432.

race: http://sodarace.net/upload/Rocket/beat_this.jnlp

jbrownlee

»» models

Re: AmeobaRace   posted: 14-Dec-03 05:39   »» 
This little guy pulls 421 frames, not bad for 200 generations in a homebrew GA!

race: http://sodarace.net/upload/jbrownlee/the_big_race.jnlp

jbrownlee

»» models

Re: AmeobaRace   posted: 14-Dec-03 07:26   »» 
Did some fine tuning and managed to get it down to 400. Nice!

Anybody else still working on this problem?

race: http://sodarace.net/upload/jbrownlee/the_big_race.jnlp

mwood

»» models
»» homepage

Re: AmeobaRace   posted: 14-Dec-03 13:28   »» 
Giants Attack!

race: http://sodarace.net/upload/mwood/Giant.jnlp

jbrownlee

»» models

Re: AmeobaRace   posted: 14-Dec-03 19:24   »» 
Those giants are awesome :)

Managed to push it back to 390 frames in a few hundred more generations.

race: http://sodarace.net/upload/jbrownlee/the_big_race.jnlp

mwood

»» models
»» homepage

Re: AmeobaRace   posted: 14-Dec-03 21:08   »» 
hey, where are my giants!

mitgolden76

»» models

Re: AmeobaRace   posted: 14-Dec-03 21:25   »» 
i'm having trouble importing my models into this race. Could someone upload the terrain model itself? Thanx in advance.

mwood

»» models
»» homepage

Re: AmeobaRace   posted: 14-Dec-03 21:54   »» 
a

model: http://sodarace.net/upload/mwood/Untitled.jnlp

jbrownlee

»» models

Re: AmeobaRace   posted: 16-Dec-03 19:40   »» 
Well, I've been doing a few runs where I let the GA evolve entire models from scratch. I'm Using similar techniques used to evolve connections in neural networks (if anyone else is into that kind of thing).

Anyway, check out what it came up with after a 1000 generations. Gravity is like 2 or something, yet this thing flaps its way to the finish. The score is not impressive at 1110, just thought the solution was interesting.

race: http://sodarace.net/upload/jbrownlee/race_the_mountain_range_from_scratch.jnlp

Lectvay

»» models
»» homepage

Re: AmeobaRace   posted: 16-Dec-03 19:52   »» 
Wow, it's really cool to see that a GA made that from scratch.

I'm sure we'll all be thoroughly shocked if we start to see AI's making common soda-structures like tension springs or dainty legs from scratch.

jbrownlee

»» models

Re: AmeobaRace   posted: 16-Dec-03 21:45   »» 
Wow, things are starting to get really interesting. I got smarter about the representation and gave the GA another run, and this little guy emerged after a 100 generations. Slow as all hell, but it actually looks much better than some of the garbage the GA has been generating.

I'm not sure what to make of him, it almost looks like he has little back legs :) I don't know - make up your own mind.

race: http://sodarace.net/upload/jbrownlee/race_the_mountain_range_from_scratch2.jnlp

jbrownlee

»» models

Re: AmeobaRace   posted: 16-Dec-03 22:37   »» 
Sorry for all the GA spam, but I’m starting to get really excited with the models being produced :)

Below is a race with 4 unique models which all complete the track. Each emerged in 100 or less generations and damn are they strange looking. One almost looks like a little bug, another like a walking paper plane with legs.


race: http://sodarace.net/upload/jbrownlee/race_the_mountain_range_from_scratch5.jnlp



This topic has 271 replies on 19 pages [ « | 1 ... 4 5 6 7 8 9 10 11 12 ... 19  | » ]


»» previous topic   »» next topic  

»» back to topic list  »» top of the page  

PLEASE READ THE FORUM GUIDELINES AND ALWAYS PREVIEW TO CHECK MESSAGES BEFORE POSTING...
...Help keep our forums creative and constructive. Thank you.


»» forum home