[Home]ScruchiPu/Tests

Robo Home | ScruchiPu | Changes | Preferences | AllPages

Since NeuralTargeting is such an interesting (from both a competetive and an academic point of view) subject I thought that now when we have a NN robot with an active developer we should experiment some with it.

Gouldingi 100 rounds tests

My first test will be against a really simple robot - Gouldingi because I have tried to make it move quite randomly and as such NeuralTargeting should have a hard time against it. But there is obviously non-random behaviour in the movement since some bots (most notably SandboxDT can hit it with 25%+ hit rate. Could SchruchiPu?'s NeuralNetwork find the weaknesses? How long would it take? This would be easier if Albert logged ScruchiPu's hit rate and maybe some more info, but I will just use the scores for now. Gouldingi is a good test case also because it is not a very learning bot. And it certainly does not save any data between matches. Also SchruchiPu? is one slow robot. At least on my JRE 1.3.1.

Enough talking. The results after the first 100 rounds are:

 Bot              Rounds won      Score
 Gouldingi               74        9558
 ScruchiPu               26        3445

Hmmm, ScruchiPu must have run into some error this match. Gouldingi won 100-0... I didn't watch the game so I don't know, no stack traces in ScruchiPu's output though. I'll check it up...

... ScruchiPu has stopped moving. Maybe something goes wrong when it tries to load the saved data? I'll pick these tests up again when Albert has fixed the bug.

-- PEZ

It works fine in my computer. Could you post the error? I found some bugs in the NRLIBJ routines to save and retrieve data and corrected them, but may be there is some more bug.

BTW, i ran some tests. There are the results:

first 50 (score, bullet damage, 1rst, 2nds):

ScruchiPu 3453 1569 30 22 Gouldingi 3166 1641 24 28

2nd 50:

ScruchiPu 3133 1501 26 24 Gouldingi 3268 1479 26 26

3rd 50:

ScruchiPu 3722 1652 32 19 Gouldingi 2925 1599 19 31

-- Albert

Too bad you don't get the same behaviour. There's no error I can post. It's just that ScruchiPu behaves really funny. Stand still most of the time, radar not pointing at Gouldingi, only shooting occasionally. Could it be that I use Java 1.3.1? Strange effect if so, since it seems to be related to reading saved data. (I only guess that since it works if I remove Goudlingi's zip-file.) A bit strange as well that ScruchiPu is competing better against Gouldingi in your tests than in mine (assuming I have removed the zip-file of course). It suggests that ScruchiPu has other problems on 1.3.1 Java, doesn't it? Are you using Gouldingi 1.1? It has slightly improved movement from 1.0. Though it is a bit strange that a simple bot like Goudlingi should beat a robot of yours...

I have downloaded the NRLIBJ and tried the T2ex example. It took a while before I could get it to compile and then it took a while before I could make it to run as well. I had to qualify all nrlibj things with the package name. Is it the same for you? What kind of problems did you fix with loading and saving files? Could you share the fix? Since the nrlibj interface is so simple I think I will try making a NeuralTargeting gun as well.

-- PEZ

It was against 1.0 :-) If ScruchiPu behaves in a funny way, then it is beacuse it has some problem when reading the neural network. I don't know if it is related with 1.3 (may be someone else with 1.3 could check?). Why do you find strange that a simple bot can beat it? It's released as an experimental bot, and it is not ready for competition. Also the network topology has a lot influence on the results, and also the variables you feed into the network (pe. my last prototype feeds also the fire time and it seems it improves aiming significantly).

About the fixes: I had to change all the package names, change the node creation library to avoid using reflect class (I was having problems with Robocode security manager), change the write routines to avoid numbers like 0.9123445E-1 (because the tokenizer was not able to read the "E") and comment some lines somewhere else (when reading) because they were creating strange results... I'w post the corrected source codes ASAP (it will be tomorrow, because I have them in another computer). -- Albert


Robo Home | ScruchiPu | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited April 6, 2003 19:12 EST by Albert (diff)
Search: