The code and pdf of our project for Natural Computing At Radboud University
- Paste the script found in
sketch_script.jsin the p5.js studio or run it locally. - Adjust the top parameters as desired. To reproduce the experiments from the paper you need to vary the parameters:
FoodCoolDownN_food- The name of the file that you want to save as in
WriteResultssaveJSON(weights, "FoodCoolDown10/Run" + G.toString() + '/results.json');. Note this is a code which runs on the web and it has no knowledge of local directories etc. The final output will be written to a file.
- The result is downloaded as
.jsonfile. We ran the experiments 10 times so run it as well at least some times and then place them all in a folder. - Open the notebook called
Data_analysis.ipynb. Only change these lines:
results = read_and_average('experiments/NameOfMyFolder',names,30,15)
visualize(results, 'results')- The code here also has an implementation for Tournament K selection which we ended up not using.