KNN PBI

Jump to navigation Jump to search
Revision as of 9 April 2013 at 19:45.
This thread or its parent was deleted.

Wow, I'm really excited about this! Finally I have a better idea where to focus my benchmarks. =) [1]

What k are you using? And is DrussGT getting k/2 because there's nobody above him, or still getting k, but all below him?

    Voidious21:19, 12 June 2012

    (Well, I mean, I'll know where to focus once you've run about a million more battles... ;))

      Voidious21:38, 12 June 2012
       

      Sorry I missed this...

      Right now I'm using k=sqrt(opponents), and it just chops it off. So the top bot gets k/2, second bot gets (k/2)+1 etc.

        Skilgannon16:46, 8 July 2012
         

        I just discovered that my numpy conversion had broken the KNNPBI completely, so I've fixed that and re-run all of the rumbles. Now that it is using numpy, it should give nice symmetrical results (although KNNPBI isn't really symmetrical, by design, but now they are consistent).

        Also, looking at the code, k=sqrt(len(bots))/2

          Skilgannon20:42, 9 April 2013