This is the starting kit for the RAMP on predicting soccer winning teams. The goal is to predict the outcome of a soccer match, given some information about the statistics of the teams such as possession, shots, key passes, etc. The data is provided by the StatsBomb company, which is a data provider for football (soccer) statistics.
To get started, you need to install the necessary dependencies. You can do this by running the following command in your terminal:
pip install -r requirements.txt
If you want to download the original data from Statbomb, you can run the following command:
python download_data.py
After running this command, you will find the data in the data/statbomb
folder.
Then, to prepare the data for the challenge, you can run the following command:
python prepare_data.py
You can see an example in the starting_kit.ipynb
notebook. This notebook will guide you through the process of loading the data, training a model, and making predictions.
The submissions need to be located in the submissions folder. For instance for starting_kit
, it should be located in submissions/starting_kit
.
Then you can run the following command to test the submission:
ramp-test --submission starting_kit
You can get more information regarding this command line:
ramp-test --help
This challenge was created by: Thomas Sinapi, Ilyes Tebourski, Julien Maille-Paez, Mohamed Hamdouni and Manitas Bahri