diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..207bd61 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.data +*.properties +*.battle diff --git a/.results.data b/.results.data deleted file mode 100644 index 975dfa3..0000000 --- a/.results.data +++ /dev/null @@ -1,10 +0,0 @@ -2 1:316 2:151 -1 1:279 2:157 -1 1:144 2:157 -1 1:398 2:321 -1 1:315 2:37 -2 1:441 2:169 -1 1:181 2:281 -2 1:267 2:57 -1 1:292 2:138 -2 1:349 2:44 diff --git a/.settings.battle b/.settings.battle deleted file mode 100644 index 6041fe5..0000000 --- a/.settings.battle +++ /dev/null @@ -1,8 +0,0 @@ -#Battle Properties -robocode.battleField.width=500 -robocode.battleField.height=500 -robocode.battle.numRounds=1 -robocode.battle.gunCoolingRate=0.1 -robocode.battle.rules.inactivityTime=450 -robocode.battle.selectedRobots=sample.TrackFire,sample.TrackFire -robocode.battle.initialPositions=(250,250,0),(349,44,274) diff --git a/config/robocode.properties b/config/robocode.properties deleted file mode 100644 index cb2075c..0000000 --- a/config/robocode.properties +++ /dev/null @@ -1,5 +0,0 @@ -#Robocode Properties -#Wed Apr 22 18:10:36 CEST 2015 -robocode.cpu.constant=14014678 -robocode.options.battle.desiredTPS=10000 -robocode.version.lastrun=1.9.2.3 diff --git a/robocode-svm b/robocode-svm index 2362d98..efa3179 100755 --- a/robocode-svm +++ b/robocode-svm @@ -55,3 +55,5 @@ echo "tr: $tr, te: $te" # Scale the results to interval <0, 1> and split them to training set and testing set; # misuse tee for 'process substituion' and send its stdout do /dev/null svm-scale -l 0 -u 1 "$results" | tee >(head -n $tr > "$training") >(tail -n $te > "$testing") > /dev/null + + diff --git a/testing.data b/testing.data deleted file mode 100644 index 522ee16..0000000 --- a/testing.data +++ /dev/null @@ -1 +0,0 @@ -2 1:0.690236 2:0.0246479 diff --git a/training.data b/training.data deleted file mode 100644 index 10e38b4..0000000 --- a/training.data +++ /dev/null @@ -1,9 +0,0 @@ -2 1:0.579125 2:0.401408 -1 1:0.454545 2:0.422535 -1 2:0.422535 -1 1:0.855219 2:1 -1 1:0.575758 -2 1:1 2:0.464789 -1 1:0.124579 2:0.859155 -2 1:0.414141 2:0.0704225 -1 1:0.498316 2:0.355634