<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Archived_talk%3ACassiusClay_20050329</id>
	<title>Archived talk:CassiusClay 20050329 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Archived_talk%3ACassiusClay_20050329"/>
	<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;action=history"/>
	<updated>2026-04-25T12:29:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;diff=13044&amp;oldid=prev</id>
		<title>Robobot: moved CassiusClay/Archived Talk 20050329 to Archived talk:CassiusClay 20050329:&amp;#32;move to talkarchive</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;diff=13044&amp;oldid=prev"/>
		<updated>2009-10-08T03:50:32Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/CassiusClay/Archived_Talk_20050329&quot; class=&quot;mw-redirect&quot; title=&quot;CassiusClay/Archived Talk 20050329&quot;&gt;CassiusClay/Archived Talk 20050329&lt;/a&gt; to &lt;a href=&quot;/wiki/Archived_talk:CassiusClay_20050329&quot; title=&quot;Archived talk:CassiusClay 20050329&quot;&gt;Archived talk:CassiusClay 20050329&lt;/a&gt;: move to talkarchive&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:50, 8 October 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Robobot</name></author>
		
	</entry>
	<entry>
		<id>http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;diff=7081&amp;oldid=prev</id>
		<title>Robobot at 15:22, 21 May 2009</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;diff=7081&amp;oldid=prev"/>
		<updated>2009-05-21T15:22:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;amp;diff=7081&amp;amp;oldid=5469&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Robobot</name></author>
		
	</entry>
	<entry>
		<id>http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;diff=5469&amp;oldid=prev</id>
		<title>Voidious: migrating from old wiki</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Archived_talk:CassiusClay_20050329&amp;diff=5469&amp;oldid=prev"/>
		<updated>2009-04-24T17:33:24Z</updated>

		<summary type="html">&lt;p&gt;migrating from old wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Talkarchvie|Talk:CassiusClay}}&lt;br /&gt;
&lt;br /&gt;
[[PEZ]], you say in the update history that you &amp;quot;Tweaked the movement flatener.&amp;quot; What do you mean by this? -- [[jim]]&lt;br /&gt;
&lt;br /&gt;
That wasn't right. I have now corrected it. I tweaked the hit stats segmentation. Using time-since-velocity-changed instead of time-since-decceleration and -acceleration. It makes me lose against about all top bots, but gains me 10 points in the total. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Seems CC now has [[DT]]'s number:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1st: pez.rumble.CassiusClay 1.9.6.01    40881	14750	2950	20342	2839	0	0	295	205&lt;br /&gt;
2nd: pe.SandboxDT 3.02                  30962	10250	2050	16860	1801	0	0	206	295&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Nice! -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Your goal needs to be updated. Uless of course you are angling to be #2 :P -- [[jim]]&lt;br /&gt;
&lt;br /&gt;
Well, CC can't dethrown RMX while it is not the king of course. =) I'll update the label. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
[[PEZ]], at your suggestion I am looking at using your gun indecies for DarkHallow. When I looked at your latest code on CC, I noticed your are setting the accelIndex twice. You set it to the same value each time so I am pretty sure this is redundant. -- [[jim]]&lt;br /&gt;
&lt;br /&gt;
I don't think I am using an accelIndex? -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Hi [[PEZ]], i noticed that you latest gun tweak didn't do that well. Are you sure you calculated the botwidth correctly? I took a look at your code and now i think your method botwidth() returns twice the number of bins it should. You are using maxEscapeAngle() which actually returns the angle between the GFs 0 and 1 (or between -1 and 0 of course), but at the same time your use the total number of guess factor bins. If i'm right that could make quite a difference, if not you may of course delete this comment :-) (i just looked at the code, so no debugging or stuff ... ). --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
I guess that could make a lot of difference. You're right of course. Stupid me. With some luck this could solve this big mystery. Thanks! -- [[PEZ]]&lt;br /&gt;
----&lt;br /&gt;
There is no listing for the current version of CC in the update history section. Care to share? -- [[jim]]&lt;br /&gt;
----&lt;br /&gt;
Version 1.9.8.03 has five lousy points left! And I'm totally out of ideas again! 5 lousy points! Well, I should be happy of course. I am. But it's frustrating to chase something so elusive for so long... -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
A pretty cool table: http:/robocode/uploads/pez/CCvsDT_35.html -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
OK, so with version 1.9.9.00g I have finally taken the time to update the  movement predictor so that it takes into account the maximum turning the bot can do at a given velocity. My tests shows it does not yet perform like the previous version of the predictor. Might have a bug in there. Check the /Butterfly page if you're curious and maybe even willing to help a poor surfing developer get the more precise act together. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Dunno if it will last, but it´s cool:&lt;br /&gt;
&lt;br /&gt;
http://robowiki.net/robocode/uploads/axe/CC19900b2.GIF&lt;br /&gt;
&lt;br /&gt;
-- [[Axe]]&lt;br /&gt;
&lt;br /&gt;
Thanks for saving that for me. I like to see what ground I've touched. =) 2063 now with 296 battles. I know it's going to fall back to its &amp;quot;around 2050&amp;quot; pocket, but it's cool anyway. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
CC is #2 by a hair... Congratulations! Are you going to remove SilverFist? I seem to recall you mentioning that you were going to remove it if either you or Axe were #2 behind it. --[[David Alves]]&lt;br /&gt;
&lt;br /&gt;
We'll have to see where it ends up. I've seen CC drop so many times before... In any case a SilverFist WT must be tried, just to see where the bar would be placed with such a beast. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Great stuff! did you use BeeWT's version or did you hack in the serialization code? And now it's waiting for SFWT..... --[[Vic]]&lt;br /&gt;
&lt;br /&gt;
Big congrats dude! SuperNodes is a great find. I'm using the BeeWT gun hooked on CC movement. And I'm just now putting together SFWT. Will pull CCWT tomorrow then. And SFWT can stay the proof of concepts for [[/Bee]] Targeting with SuperNodes and SilverSurfing. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Now I have cleaned all code that could do data writing and reading from CC. With saved data it's too hard to know what a particular gain or loss in rating really comes from. One less parameter to worry about! CC will now try to outrank RaikoMX without any data on disk. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Congratulations on achieving your goal, and by a nice margin too. --[[David Alves]]&lt;br /&gt;
&lt;br /&gt;
Thanks!!!!!!!!!!! Man this is a wonderful day. Yayyy!! -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Congrats, man! U surely deserved it! Hail! -- [[Axe]]&lt;br /&gt;
&lt;br /&gt;
Wow! Great stuff, [[PEZ]]! Congratulations! Now tell us all about the wave list management alterations please :-) And of course how heavy your BinSmoothing is now :-) --[[Vic]]&lt;br /&gt;
&lt;br /&gt;
Thanks both of ya! I'm having this stupid smile in my face that I just can't wipe away. =) About wave list management. It was one of the last leftovers from [[Pugilist]]. I used custom events for my [[Wave]]'s that updated the waves in the test() method. Thus relying on thar Robocode would always iterate my waves. But obviously I coudln't. I have noticed for a long while in GL that my waves does not stay aligned for the full duration of their flight. Thought I could ignore it. But the other day I decided to not ignore it. About bin smoothing. I now smooth with pow(d, 0.4) instead of pow(d, 0.5). At first I thought it made a majr difference, but I think I must have done some other &amp;quot;minor&amp;quot; change at the same time. Because now in my tests 0.5 (sqrt) works equally well. All in all the 30 points come from bug fixes, glitch-fixes and minor tweaks in the surfing. There's no implementation detail too small to not pay attention to. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
What do you mean pow(d, 0.4)? What is d? :-P --[[David Alves]]&lt;br /&gt;
&lt;br /&gt;
d is the distance of the measured bin from the bin used for smoothing. Like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	for (int i = 0; i &amp;lt; FACTORS; i++) {&lt;br /&gt;
	    danger += _danger_calc(i) / Math.pow((double)(Math.abs(measuredIndex - i) + 1.0), 0.4);&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
-- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
[[PEZ]], a bit late, but CONGRATULATIONS with your number one position. I have been away for some time and now find the RoboRumble landscape shaken. Nice work!&lt;br /&gt;
&lt;br /&gt;
B.t.w. what happened to the RoboRumble? I thought there were bots with a 15000+ battles behind their names.&lt;br /&gt;
--[[Loki]]&lt;br /&gt;
&lt;br /&gt;
The rumble and the wiki was burnt to ashes in what is now known as TheBigCrash (see WelcomeToTheNewWiki and RoboRumble/TemporaryServerUp or some more on this). Like [[PhoeniX]] birds they have risen from the ashes though! The rumble a bit more hurt than the wiki. Which means we have lost a lot of battles. But the warriors of the [[RR Uploaders Competition]] has made sure we at least have a correct and stable curren standing.&lt;br /&gt;
&lt;br /&gt;
Thanks for those congrats! It was bloody hard work to outrank RaikoMX!&lt;br /&gt;
&lt;br /&gt;
-- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
he he, you are a pretty competitative guy. You even turned getting the new rankings into a new competition! But only a second place for you ... must be hard to swallow ;-)  --[[Loki]]&lt;br /&gt;
&lt;br /&gt;
It's a hard life. But I get by. One day at a time. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Well here's an interesting one, PEZ.  You've got Shark as a problembot, but not Raiko.  Assuming their movements are about the same, wouldn't that mean Raiko's gun is less effective against you than Shark's? --[[Goofy]]&lt;br /&gt;
&lt;br /&gt;
No. It means Shark's gun is worse than Raiko's against about every bot in the rumble. Just a bit less so against surfers. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
A truly random gun would be just as effective against a surfer as it would be against very other bot in the rumble. Surfers take advantage of the fact that they can learn as you learn. When you manage to hit them, they know where you think the peak is in your stats and can avoid it until you hit them at your new peak. Some surfers go even one further and flatten the results of their movement to try and eliminate all the peaks truly turning you GF gun into a random gun. I would argue that the SharkChallenge is not a test of surfing at all. It is a test of your targeting system more than your surfing system. -- [[jim]]&lt;br /&gt;
&lt;br /&gt;
Then again, noone has said that the SharkChallenge is a test for surfers. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
I finally found the secret of your number one position: you haven't fought a single battle against mini.Wodan :-) &lt;br /&gt;
&lt;br /&gt;
Heheh, let's be realistic, it's probably better for Wodan's ranking. But i introduced statistics aging/rolling averages after i found that it improved my results against CC v1.9.5.3 --[[Loki]]&lt;br /&gt;
&lt;br /&gt;
Yes, rolling your gun stats should help against any surfer. But, if I were you I would try a version of Wodan that does not roll the stats. You might find it works better in the rumble as a whole. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
I gained 14 points (7 positions) by using a fast version of rolling averages in the general rumble (a bit to my surprise as i only expected improvements against the wave surfers). I tested several 'aging speeds' against a number of the top bots and found contradicting results: fast aging worked best against SS and Aleph, no aging worked best against CC and intermediate against Ascendant. So i finally settled on fast aging. --[[Loki]]&lt;br /&gt;
&lt;br /&gt;
B.t.w. the results of MiniWodan in the TargetingChallenge show that an intermediate speed of rolling averages works best against those bots. --[[Loki]]&lt;br /&gt;
&lt;br /&gt;
That's for your gun of course. For [[/Bee]] every experiment with rolling averages has resulted in decreased RR@H rating. -- [[PEZ]]&lt;br /&gt;
----&lt;br /&gt;
That looks strange:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Fighting battle 0 ... pez.rumble.CassiusClay 1.9.9.28,pez.mini.Pugilist 2.0.9&lt;br /&gt;
RESULT = pez.mini.Pugilist 2.0.9 wins 4948 to 720&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[ph]]&lt;br /&gt;
&lt;br /&gt;
Yeah, it was a non-firing CC. And then I &amp;quot;fixed&amp;quot; it with .28b which also was stationary. =) But now .28c booth fires and moves. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Looks like .37 has a bug. Unless of course this is your HOT test... -- [[Alcatraz]]&lt;br /&gt;
&lt;br /&gt;
Thanks! It's not my HOT test. V .09ho is my HOT test. ... I wonder what .37 is doing! -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
OK. *lol* Found it. I often do that. I'll let .37 be left in till it gets all pairings. It'll answer the question &amp;quot;how high ranking does a surfer get if it doesn't fire?&amp;quot; Duh!!! -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Wow! I used sample.[[Walls]] to check what was wrong with .37. And in round 3 I actually saw that bug (when CC takes a [[HOT]] non-[[ChaseBullet]] hit) happening! I don't have the time right now to investigate it, but it's a MAJOR breakthrough to have seen it. I'll have that bug fixed soon I think. Yay!!! -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
.09hot might score higher with Shark's gun, which would prevent being crushed by surfers. Just a thought. :-) --[[David Alves]]&lt;br /&gt;
&lt;br /&gt;
Feel free to test it! I'm sure you'll figure out how to plug Shark's gun on a CC .09rd in a jiffy. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Ain´t CC the King again? -- [[Axe]]&lt;br /&gt;
&lt;br /&gt;
Nope. Just a test version of Ascendant hanging around. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
someone (maybe it was CuriousGeorge) said &amp;quot;asking questions is never stupid&amp;quot;, but maybe my question qualifies. Anayway here it is: where are the results of the PremierLeague posted ? I have seen claims like &amp;quot;King of PremierLeague&amp;quot; before, but have never been able to verify them :( --[[Loki]]&lt;br /&gt;
&lt;br /&gt;
That's the point. The claims are up for grabs. =) Nah! On the RoboRumble/CurrentRankings page there's a [http://pezius.com/rumble/servlet/PremierLeague?game=roborumble PL] for the various classes where a PL ranking is available. -- [[PEZ]] &lt;br /&gt;
&lt;br /&gt;
??? have you just added that [http://pezius.com/rumble/servlet/PremierLeague?game=roborumble PL] link, or have i (unconciously ignored/overlooked) that link sinds it have been added? Or is it because i always open the RR-results directly from my 'Favourites'? Anyway, i am learning something new each time i visit this wiki. thanks for answering any question, be it a smart one or a stupid one! --[[Loki]]&lt;br /&gt;
&lt;br /&gt;
You've probably missed that link for almost a year. =) Anyway, as you now saw, CC and [[Pear]] both have only one loss, but I claim the crown since I use the ELO ranking to solve the tie. I do like CC's LRP graph too. CC is a balanced bot, almost no outliers on that graph. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
[[PEZ]], u use 1.9 pwr bullets even against rammers? I think that they deserve 3.0 pwr bullets, dont? I´m thinking in try this later... I know it is a lil issue, but these rammers are indeed annoying, as u said once:&amp;quot;Death is too kind to NanoDeath...&amp;quot; :). -- [[Axe]] &lt;br /&gt;
&lt;br /&gt;
You're right, maybe true rammers are too predictive to fire anything less than 3.0 against. But CC is already among the top-3 ND-bashers (most versions of CC are #1 in this game)... Worth a try anyway. Death ''is'' to kind to NanoDeat after all. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
mmm... Maybe im doing this already, i use power 3.0 bullets if hitRate &amp;gt; 35% remember? I forgot. :) -- [[Axe]]&lt;br /&gt;
&lt;br /&gt;
Yes, and I haven't tried that yet. Good you reminded me. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
It's a bit too small diff to tell for sure maybe, but it looks like firing full power when the hit rate indicates an easy victim bought me 1 or 2 points. Thanks! Maybe with some extra attention to detail in this (right now it's the rawest and simplest implementation imaginable) I can squeeze out 2 secured points. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
That was my result too... 1 or 2 points gain. It´s lil, but... -- [[Axe]]&lt;br /&gt;
&lt;br /&gt;
The current CC is right now less than one point behind [[Ascendant]], which means that the difference between the ratings of these bots is probably within the margin of error. So according to the rating these bots are equally good. Now i wonder whats the consequence for the position of the king. Are there two kings now? Or has the new king to be better than the old one? Or is there another competition to solve these issues (maybe consulting PremierLeague, or the direct duel)? &lt;br /&gt;
&lt;br /&gt;
Maybe i should try that bullet power thing too. If i gain about one point too, we can postpone that question :-). -- [[Mue]]&lt;br /&gt;
&lt;br /&gt;
Yeah, postpone it please. =) But it looks like Ascendant ended up #1 in the exchange as it is. I think that if we have two bots competing very closely for #1 then we can upload some 25 battles which pairs those two bots and let the outcome from that decide which one is the King's bot. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Hmmm, maybe CC just had some luck there. Now it's back at 2066 again... -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Congratulations, you have a very strong release there. Right now CC is 0.3 rating points above [[Ascendant]] with 752 battles fought.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pez.rumble.CassiusClay 1.9.9.67   2067.82 (752)&lt;br /&gt;
mue.Ascendant 0.9.7               2067.53 (1010)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I think that this is too close to just judge by the ranking which one is stronger. Maybe its time to run a number of battles between these two (as you proposed above) and use the result to decide who is king now? I'd do it myself, but i dont know how to tell the client to focus on a specific pairing. &lt;br /&gt;
&lt;br /&gt;
Sorry for not simply acknowledging that CC is king now, but i really think that any minor fluctuation in the ranking can change the order of CC and A. --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
I agree. Next version maybe. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Good luck :-). Though you probably wont need it since it will still take some time until my next release is ready. I started to rewrite my gun making it an array based guess factor gun again (should bring better performance and Bee proves that this is a viable approach). Unfortunately the first results are very disappointing. I'll probably take a closer look at Bee now and run some experiments with it. Maybe i can figure out what exactly it is that makes your gun so incredibly strong. --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
If your gun is not array based, what is it based on then? -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
I tampered with dynamic segmentation and use basically a growing list of segments (each containing a guess factor array). When firing, the segments similar to current situation are weighted together. But after a careful analysis of whats happening there i came to the conlusion that this approach does not have innate advantages compared to array based implementations. So i'm switching to arrays now, which are faster by far, because i just need to compute some indexes instead of comparing the current situation to all situations in that list. --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
Interesting. How many similar situations do you collect before weighing them together? Have you tried clustering the similar situations with something like K-Means to see which of them that agree the most about the best guess factor? I would think such a gun should be very strong. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Well, i take all all similar situations into account. I do not really understand what you mean by clustering similar situations. What are K-Means? --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
All? That must mean you take all ''identical'' situations into account? K-means is a clustering method where you try build N clusters from the input data by chosing the N observations farthest from each other and then assigning observations to these clusters by measuring their &amp;quot;closeness&amp;quot; to the center of the cluster. Each time you add an observation to the cluster you recalculate the center. This goes on until all observations are assigned to a cluster. Then it would be a matter of checking what cluster the current obesrvation belongs to, and checking where the majority of those would fire. The trick is of course to figure out what distance measure to use for an observation with several measures in it. But maybe the euclidian distance between each measurements together with a &amp;quot;weight&amp;quot; for that &amp;quot;axis&amp;quot;... Something like what Axe seems to be doing in SilverSurfer I think. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
You once accused [[Paul_Evans]] of being a rocket scientist. Now who is looking to lauch their own rockets? I could not follow one word of that. =^&amp;gt; [[jim]]&lt;br /&gt;
&lt;br /&gt;
I use the euclidian distance in my gun (actually the squared distance). The center of the cluster is always the current situation, I don't understand what you mean by &amp;quot;chosing the N observations farthest from each other&amp;quot;. The dynamic part, adapting axis weights by analysing tendencies, is something I have thought about since forever but never managed to turn it into actual code. -- [[ABC]]&lt;br /&gt;
&lt;br /&gt;
That's just how K-Means clustering works, you first decide how many clusters you want and then go assign observations to the clusters. There are some other clustering methods one could use instead, like hierarchical (however you spell that...) wher you start with as many clusters as you have obesrvations and then cluster together neighbouring clusters until you only have one left. Left is a tree of clusters where you could go back and chose the level of clustering you want. We did these kind of things with data at my last job which was about marketing research analysis. Dynamically adapting axis weights? That would be cool! Maybe using the standard deviation for each axis works? -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
I have some (currently unused) code for computing the standard deviation for each axis, one of my many experiments :). The problem is that I'm not very good with Math/Statistics, and I get lost easily in small tweaks. I'll turn my current movement into a gun first and try to evolve from there, it should be much easier with guess factors because of the reduced sample numbers. -- [[ABC]]&lt;br /&gt;
&lt;br /&gt;
The club of non-matematicians trying to use math for solving Robocode problems probably has more members than just you and I, ABC. =) Thinking about what we have just discussed though i wonder if standard clustering techniques are usable in a bot. Maybe it's too heavy to keep clustering a growing list of observations every tick. About std dev. Is it possible to keep the std deviation updated with each collected observation or do you have to recalculate it ever time? Maybe since you already traverse the full list every time it's not a big overhead. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
I read somewhere that it is possible to calculate the stdv without traversing the list twice (one for the mean and another for the squared distances), but I never find it when I need it. In my attempt I did it the slow way, but only  at the end of each round, adjusting weights only once per round. But then I decided that I better make a working hand-tuned version of it before trying a smarter one. I don't see the need for that clustering method you describe, if you assume a fixed cluster size its easy to keep adding samples until the cluster is full. -- [[ABC]]&lt;br /&gt;
&lt;br /&gt;
If you use a fixed cluster size you risk either excluding good matches or including bad ones. Might not be a big problem though, I haven't tested any clustering at all in a gun yet. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
I now tried making a version of Bee where I use a log of all my waves and search it for similar situations and find out what visitIndex is most often used among them. It performs like Bee in terms of TC points but gets very slow after a 30 rounds or so... -- [[PEZ]] &lt;br /&gt;
&lt;br /&gt;
Interesting, did you use CC's segmentation as axis? Maybe it's time for you to make a proper &amp;quot;only predict if you going to shoot&amp;quot; gun... ;)&lt;br /&gt;
&lt;br /&gt;
I tried that, but got lower TC points in my tests. Must have done something wrong as usual. Anyway, the log quickly grows to hold enormous quantities of observations, which is the big problem if I want a bot that is even possible to run 1K round battles with. Yes, I used CC's existing segmentations. Only difference is that I don't require all of them to match perfectly. Got 2041 points using CC's current movement which means the gun doesn't perform near Bee yet. But if I get some hours of continous coding time I'll try making the gun working without those indexes in the Bee segmentation. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Whoa - what happened with 1.9.9.72? Was it only a gun change that cost that many points? --[[David Alves]]&lt;br /&gt;
&lt;br /&gt;
Yeah. It scored 91.10 in TC35 and then lost me 11 points in RR@H. .78 scores 90.89 in TC35 so I just might get higher RR@H rating. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
You mean it lost you 111 points. Unless that's a mistake on your /UpdateHistory :-) --[[David Alves]]&lt;br /&gt;
&lt;br /&gt;
Yeah, I made a mistake there. Imagine that writing 100 points too little still gives a score of 1955! =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Hi [[PEZ]], i took another look at your Bee gun. I think there is an issue with your last velocity segmentation. The last velocity you use is always the velocity from the tick before. But since you segment on time-since-last-velocity-change too, you get a lot of 'impossible segments'. Last velocity can only differ from current velocity if you are in the smallest time-since-last-velocity-segment. Am i missing something or is this some kind of bug? You know i segment on acceleration instead of last velocity, but of course i take the acceleration from the last time the velocity changed (no need to use extra segments to tell the gun that velocity didnt change since time-since-last-velocity-change). --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
It isn't exactly a bug, but I am aware of it. [[Jamougha]] uses the buckets for different stuff in this situation, but I can't really follow what's going on there and I haven't figured out a way to fill the void. Your solution is excellent! Thanks for letting me know about it. I'll try implement it right away. I'm also using acceleration now instead of a lastVelocity segment so the change should be pretty straight forward. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
From my tests it seems it doesn't matter if I use 5 lastVelocity indexes or 2 acceleration indexes. I'll settle for acceleration since it's much clearer about its purpose and since it makes the whole stat buffer less than half the size. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
It's probably negligble but going from any speed to speed 0 is possible too (wall collision). -- [[Pulsar]]&lt;br /&gt;
&lt;br /&gt;
That's one of the reasons I used the lastVelocity segmentation to begin with. But it seems, in my tests, that it isn't common enough to make a difference. -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Wow, CC is rising again. Congratulations! --[[Mue]]&lt;br /&gt;
&lt;br /&gt;
Thanks! I'm actually just fooling around with weights and rolling depths. Seems to not matter too much what I do, but there are some few points there at least (obviously). To leap the gap to [[Ascendant]] I'll need to do something new though... -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
That's the price you have to pay to be at the top, but I am confident that you will find a way to really threaten [[Ascendant]]. -- [[GrubbmGait]]&lt;br /&gt;
&lt;br /&gt;
How long until version 2.0? You are really stretching the 1.9.9 thing. -- [[Alcatraz]] &lt;br /&gt;
&lt;br /&gt;
Indeed! Or rather I have been too quick to reach 1.9.9 really. Some of those changes have been truly minor. Like the ones I am trying now. I was thinking to wait with 2.0 until it contained something new. But I have been playing [http://pezius.com/perl/hw2iki Halo 2] very much lately and haven't really been  cooking any new stuff. So. I'll keep stretching it a while. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
Just admit it, you love to be the King of '''TLBVNL''' (The Longest Bot Version Number League) -- [[GrubbmGait]]&lt;br /&gt;
&lt;br /&gt;
I've already won that title over at the RobocodeLittleLeague. And there's a limit to the bot version length anyway. =) -- [[PEZ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Archived Talk|CassiusClay/Archived Talk 20050329]]&lt;/div&gt;</summary>
		<author><name>Voidious</name></author>
		
	</entry>
</feed>