Awesome
ELO based Soccer prediction
Setup
- Install Python 3.5+
- run "pip install pipenv"
- run "pipenv install". (if you are not familiar with pipenv, more on information https://robots.thoughtbot.com/how-to-manage-your-python-projects-with-pipenv)
Reference Paper
https://arxiv.org/pdf/1806.01930.pdf
Training Data Source
Real Time 2018 World Cup Match Data
https://github.com/estiens/world_cup_json
Deployment
http://ec2-13-125-192-62.ap-northeast-2.compute.amazonaws.com/
Loaing Match Data into DB
python manage.py load_data [year1] [year2] [year3] ... [yearN]
e.g. python manage.py load_manual 2018 2017
Make Prediction
e.g.
Highly recommend you get a Chrome JSON Formatter for human friendly rendering (https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=ko)
React Front with Ant-Design
http://v1k45.com/blog/modern-django-part-1-setting-up-django-and-react/
https://ant.design/docs/react/introduce
Prototype ui borrowed from https://github.com/pedsm/liveCup
Run Nginx and Gunicorn
gunicorn elosoccer.wsgi:application --bind=127.0.0.1:8001 & /etc/init.d/nginx restart # (ubuntu) /var/log/nginx