Storing Data

Jump to navigation Jump to search
Revision as of 18 March 2013 at 16:01.
The highlighted comment was created in this revision.

Storing Data

Do you store all your data between matches for each robot you encounter? Or do you start with a fresh tree each time? Store a subset of the data that will give you a good start? I assume storing the full data set will be too large to be able to fit it in the bots data directory? But it would be good to store some of your tree so that you don't have to re-learn every time? I couldn't see details on how many rounds in a row the Roborumble ran for each bot match. Is it enough that you have time to populate the tree with useful data?

    Wolfman12:42, 18 March 2013

    I don't save data between battles. It's probably worth a few RR points but so inconsistent based on how your battles get distributed, I just avoid the headache.

      Voidious13:39, 18 March 2013
       

      Does the robocode security disable network access? I had an idea of storing data in a cloud server and then loading that data when a robot loads, meaning your robot could store data for all roborumble results and share it between distributed runs! ;) But I'm guessing thats not possible?

      Its just interesting because my gun definitely gets better the larger the KD-Tree becomes. Its worth a good few percent between 100 rounds and 500 rounds of data for instance. I guess I'll have to tune it for 35 rounds :(

        Wolfman13:43, 18 March 2013
         

        Yep, network access is disabled. Sharing saved data across clients has always seemed like a potentially cool RoboRumble feature, but personally I'm more in the "get rid of all saved data" camp. :-) It's helpful to log exceptions for debugging, though.

          Voidious13:46, 18 March 2013
           

          Ok fair enough. So what is the number of rounds that the rumble runs each match? Is it 35 like the latest targeting challenges?

            Wolfman13:51, 18 March 2013
             

            Yep, 35.

              Voidious13:56, 18 March 2013

              The roborumble (800X600) and meleerumble (1000X1000) are 35 rounds, the teamrumble (1200X1200) is 10 rounds, and the twinduelrumble (800X800) is 75 rounds (with all forms of data-saving between matches banned).

                Sheldor14:55, 18 March 2013
                 

                And not trying to discourage you from saving data - if it's interesting to you and there's points to be had, go for it!

                What I like about not having it is that it makes for a more clearly defined problem, and you don't run the risk of real improvement getting hidden by fluctuations in the performance of your data saving.

                  Voidious14:39, 18 March 2013
                   

                  I guess what is interesting to me is the identification of patterns in large data sets that saving would give you. Whereas not saving data becomes either how do I gather data fast enough to be useful or how do I perform well with small data sets. For instance I would assume that wave surfers would perform better after more rounds.

                  Do you pre-populate any of your data at the start of a match even if you don't save data about specific robots?

                    Wolfman15:21, 18 March 2013
                     

                    I have two things that are a form of pre-populated data:

                    • In surfing, I surf as if there's one hit at GF=0 until I have any data.
                    • In the gun, I have this silly RetroGirl/Gun that I use for the early ticks of round 1 before my real gun has data. (The real gun quickly outperforms it with even a tiny amount of data.)
                      Voidious15:28, 18 March 2013
                       

                      Yup I think I may have to investigate switching guns depending on the amount of data in my dataset to improve performance in early rounds (or in round 1). At the moment I only am using a DC gun.

                        Wolfman17:01, 18 March 2013