A script to demonstrate Support Vector Machine (SVM) classification on outcomes of the battles of Robocode.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Babič 7fabe64915 readme update 9 years ago
data visual battles working 9 years ago
.gitattributes scaling of outputs working 9 years ago
.gitignore reworked menu 9 years ago
LICENSE added MIT license 9 years ago
README.md readme update 9 years ago
robocode-svm visual battles working 9 years ago

README.md

Description

robocode-svm is a script to demonstrate Support Vector Machine (SVM) classification on outcomes of the battles of Robocode.

Installation

The script runs under Linux and requires robocode, svm-scale, svm-train and svm-predict executables located in the PATH. On Arch Linux (or it's derivative, like i.e. Manjaro), this can be achieved by installing libsvm and robocode from AUR (if enabled) by following command (or equivalent)

yaourt -S robocode libsvm

Usage

Generate the data required for SVM classification and show the accuracy
of the generated SVM model. If coordinates are supported, one visual battle
is shown to support the prediction.

USAGE: robocode-svm ACTION
USAGE: robocode-svm --battle x y [alpha]

     --battle		Shows visual run of the specified battle
  -g,--generate		Just generate the battle data
  -a,--accuracy		Show the accuracy of the SVM model,
  -c,--clean		Delete all the battle data!
  -h,--help		Show this help