<commit_before># unity3d-roll-a-ball_AI code

This is the project sourcecode to run Unity-3Ds Roll-a-ball with Deep-Learning-algorithms from https://github.com/Kaixhin/Atari.


To run this code (ONLY TESTED IT ON UBUNTU LINUX): 

1. download and install Unity-3D
2. Install Torch + dependencies following the steps on this github-repository:
   https://github.com/Kaixhin/Atari
3. Import 'unity3d-roll-a-ball-master' as Unity project.
4. cd to ~/unity3d-roll-a-ball-master/Atari2
5. qlua main.lua -env rollaball -gpu 1 -hiddenSize 32 -optimiser adam  -steps 15000000 -learnStart 80000 -memSize 1000000 -epsilonSteps 50000 -valFreq 100000 -valSteps 50000 -bootstraps 0 -memPriority rank -PALpha 0 -duel true -verbose true -alpha 0.7 -betaZero 0.8 -eta 0.0000225


Code created while following http://unity3d.com/learn/tutorials/projects/roll-a-ball<commit_msg>changed the readme<commit_after># unity3d-roll-a-ball_AI code

This is the project sourcecode to run Unity-3Ds Roll-a-ball with Deep-Learning-algorithms from https://github.com/Kaixhin/Atari.


To run this code (ONLY TESTED ON UBUNTU LINUX): 

1. download and install Unity-3D
2. Install Torch + dependencies following the steps on this github-repository:
   https://github.com/Kaixhin/Atari
3. Import 'unity3d-roll-a-ball-master' as Unity project.
4. cd to ~/unity3d-roll-a-ball-master/Atari2
5. `qlua main.lua -env rollaball -gpu 1 -hiddenSize 32 -optimiser adam  -steps 15000000 -learnStart 80000 -memSize 1000000 -epsilonSteps 50000 -valFreq 100000 -valSteps 50000 -bootstraps 0 -memPriority rank -PALpha 0 -duel true -verbose true -alpha 0.7 -betaZero 0.8 -eta 0.0000225`
6. change `-gpu 1` to `-gpu 0` if you don`t want to use your gpu


Code created while following http://unity3d.com/learn/tutorials/projects/roll-a-ball
{'fraction_non_alphanumeric': 0.09848908785674315, 'fraction_numerical': 0.07442641298265248, 'mean_word_length': 3.8324324324324324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6552846', 'n_tokens_mistral': 724, 'n_tokens_neox': 600, 'n_words': 207}