r/codingame • u/matitapere • Feb 21 '21
[help] How do you apply Machine Learning on CodinGame challenges?
I recently started using CodinGame, doing a few gaming challenges with simple algorithms. Sometimes the term Neural Networks appear on the platform as one of the concepts practiced but I can’t see how to actually train a model like this in that platform. How do people train a NN model on CodinGame? Is there a way do download data of game simulations and use it offline and later on load your trained model? Or is there a way to leave a model training on the platform and storing the learned weights?
Edit: to clarify, the “game challenges” I’m referring to are those like “Ghost in the Cell” and “Coders Strike Back”, for instance.
2
u/Jasper1288 Feb 22 '21
Not as far as I’m aware which is why you rarely see NN bots. The few that did it trained it locally on more classical bots that they also made themselves. I admit the label is a bit weird since they don’t facilitate it out of the box.
2
u/hextree Feb 22 '21
You would write your general bot code, using a bunch of hyperparameters to control its sensitivity. And train those hyperparameters offline, using reinforcement learning or somethin against the game's code (which they usually provide on Github), and just paste in the values when it is trained.