https://github.com/analca3/StarCraft-winner-prediction
Tip revision: d29310ff75141356b67c4f989f310ea683f880cd authored by JJ Merelo on 12 September 2017, 08:15:01 UTC
Más preguntas
Más preguntas
Tip revision: d29310f
README.md
# StarCraft-winner-prediction
Using supervised learning to predict the winner of a match.
## Download this repo
You need to have `git-lfs` installed. You might get some warnings but it's not big deal, the files are downloades anyway.
## Compile the report
To see the report (in Spanish only), compile it using
```
make
```
under the Report folder. You have to have `R` and `knitr` installed
in your system.
Install `R` with your package manager, and dependencies using
```
make install
```
To execute all the code you need `Scala`, `Spark` and `Maven`.
To execute it, open the `StarCraft-Analytics` folder with the `Scala-IDE`,
compile it and execute
```
mvn package
```
under the same folder. After that, you only have to send the `.jar` to the
`Spark` machine using `spark-submit`.
```
spark-submit --class analytics.modelling target/StarCraft-Analytics-0.0.1-SNAPSHOT.jar
spark-submit --class analytics.testing target/StarCraft-Analytics-0.0.1-SNAPSHOT.jar
```