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č
5b7af5bc1c
|
9 years ago | |
---|---|---|
data | 9 years ago | |
.gitattributes | 9 years ago | |
.gitignore | 9 years ago | |
LICENSE | 9 years ago | |
README.md | 9 years ago | |
robocode-svm | 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