Difference between revisions of "Talk:GuessFactor Targeting (traditional)"

From Robowiki
Jump to navigation Jump to search
(Help!)
Line 7: Line 7:
 
How do I implement bin smoothing, weighting and other stuff?  I don't get it.  I used: p.nfshost.com/GFTTutorial.shtml
 
How do I implement bin smoothing, weighting and other stuff?  I don't get it.  I used: p.nfshost.com/GFTTutorial.shtml
 
to teach me Guess Factor Targeting.  Sorry, I cant put it in a link, the captcha image won't load.
 
to teach me Guess Factor Targeting.  Sorry, I cant put it in a link, the captcha image won't load.
 +
 +
I don't think there is a rule but I'll try to give you some hints.
 +
* [[Bin Smoothing]] is to affect all (or some) bins depending on how close they are to the "exact" bin. If you are to update bin #12, then bins 11 and 13 are very close and get some data added to it too. A simple function may be <code>bin[i] += 1 / (1 + Math.pow(index - i, 2));</code>. You can see that the values added are 1, 1/2, 1/5, 1/10, ...
 +
* For weighting you can weight non-firing waves less than firing waves, where a firing wave is a wave that was shot at the same time as a real bullet was. Exact weights are unknown.
 +
* And you should probably add [[Rolling Average]] as well, it means dropping old data as new data comes in. It's implementation is straight forward with [[Paul Evans]]'s magic formula.
 +
Hope this helps. --[[User:Zyx|zyx]] 16:52, 15 March 2009 (UTC)

Revision as of 17:52, 15 March 2009

Archived discussion pages

Advanced Stuffs

How do I implement bin smoothing, weighting and other stuff? I don't get it. I used: p.nfshost.com/GFTTutorial.shtml to teach me Guess Factor Targeting. Sorry, I cant put it in a link, the captcha image won't load.

I don't think there is a rule but I'll try to give you some hints.

  • Bin Smoothing is to affect all (or some) bins depending on how close they are to the "exact" bin. If you are to update bin #12, then bins 11 and 13 are very close and get some data added to it too. A simple function may be bin[i] += 1 / (1 + Math.pow(index - i, 2));. You can see that the values added are 1, 1/2, 1/5, 1/10, ...
  • For weighting you can weight non-firing waves less than firing waves, where a firing wave is a wave that was shot at the same time as a real bullet was. Exact weights are unknown.
  • And you should probably add Rolling Average as well, it means dropping old data as new data comes in. It's implementation is straight forward with Paul Evans's magic formula.

Hope this helps. --zyx 16:52, 15 March 2009 (UTC)