All Projects → woongbinchoi → English-Premier-League-Prediction

woongbinchoi / English-Premier-League-Prediction

Licence: MIT license
Apply machine learning to predict English Premier League soccer match.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to English-Premier-League-Prediction

Soccerapi
soccerapi ⚽️ , an unambitious soccer odds scraper
Stars: ✭ 52 (+36.84%)
Mutual labels:  soccer
Awesome Soccer Analytics
⚽️📈 A curated list of awesome resources related to Soccer Analytics.
Stars: ✭ 244 (+542.11%)
Mutual labels:  soccer
Euro2016 TerminalApp
⚽ Instantly find 🏆EURO 2016 live-streams & highlights, now a Web App!
Stars: ✭ 54 (+42.11%)
Mutual labels:  soccer
Wrighteaglebase
WrightEagle Base Code for RoboCup Soccer Simulation 2D
Stars: ✭ 73 (+92.11%)
Mutual labels:  soccer
Draw
⚽ Champions League draw simulator
Stars: ✭ 134 (+252.63%)
Mutual labels:  soccer
SoccerLeagueView
An Android lib that display a league table
Stars: ✭ 18 (-52.63%)
Mutual labels:  soccer
Soccergraphr
Soccer Analytics in R using OPTA data
Stars: ✭ 42 (+10.53%)
Mutual labels:  soccer
football-graphs
Graphs and passing networks in football.
Stars: ✭ 81 (+113.16%)
Mutual labels:  soccer
Robocup Software
Georgia Tech RoboJackets Software for the RoboCup Small Size League
Stars: ✭ 155 (+307.89%)
Mutual labels:  soccer
kickoff
Open Kick-Off is a fun rewriting attempt of the cult football game Kick Off 2 designed by Dino Dini and released in 1990 by Anco for the Atari ST and the Commodore Amiga. It is written in Java with the help of libGDX.
Stars: ✭ 32 (-15.79%)
Mutual labels:  soccer
Opendata
SkillCorner Open Data with 9 matches of broadcast tracking data.
Stars: ✭ 86 (+126.32%)
Mutual labels:  soccer
Soccer ggplots
Soccer/football analytics blog posts & data viz from the World Cup, Premier League, Copa America, and beyond. Using ggplot2, ggsoccer, & more. (Est. June 2018) ****Please look at the README for best version of the code!****
Stars: ✭ 115 (+202.63%)
Mutual labels:  soccer
transfermarkt-datasets
⚽️ Extract, prepare and publish Transfermarkt datasets.
Stars: ✭ 60 (+57.89%)
Mutual labels:  soccer
Fifa Fut Data
Web-scraping script that writes the data of all players from FutHead and FutBin to a CSV file or a DB
Stars: ✭ 55 (+44.74%)
Mutual labels:  soccer
VSS-Vision
Sistema de visão computacional para rastrear objetos em um campo de futebol.
Stars: ✭ 16 (-57.89%)
Mutual labels:  soccer
Epl Fantasy Geek
English Premier League 2017-18 Fantasy Stats for Geeks
Stars: ✭ 50 (+31.58%)
Mutual labels:  soccer
Pydfs Lineup Optimizer
Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
Stars: ✭ 245 (+544.74%)
Mutual labels:  soccer
sports.py
A simple Python package to gather live sports scores
Stars: ✭ 51 (+34.21%)
Mutual labels:  soccer
football-peek
[JavaScript - NodeJS] Application to access football scores
Stars: ✭ 14 (-63.16%)
Mutual labels:  soccer
ARGoal
Get more goals. | Virtual Goals & Goal Distance | App Doctor Hu
Stars: ✭ 14 (-63.16%)
Mutual labels:  soccer

English-Premier-League-Prediction

Apply machine learning to predict English Premier League soccer match.

Demo App

   

To Run

python3 model.py

Warning: Few python packages required to run the script. Install them all, or use a 3rd party IDE (such as spyder) that pre-installs these packages by default. Few of the packages required are:

  • brew cask install chromedriver
  • brew install libomp
  • pip3 install xgboost
  • pip3 install selenium

   

Scripts

1. clean_data.py

  • Includes necessary helper functions to process raw data

2. current_status.py

  • Collects and adds more details to the processed raw data
  • current/past standings, goals for/against/differences, etc.

3. match_history.py

  • Collects the latest match results

4. rankings.py

  • Calculate league points and generate standings

5. sofifa_scraper.py

  • Scrape overall team stat from FIFA

6. predict.py

  • With using processed data, train a ML model to predict future results

7. model.py

  • I/O file where the functions from the above files are actually executed

   

Data

1. data/raw/OVAs (directory)

  • scraped overall team stat data

2. data/cleaned/standings (directory)

  • historical standing results calculated in rankings.py

3. data/raw/results (directory)

  • manually collected historical data of match outcomes
  • latest match outcomes of the current season

4. data/cleaned/results (directory)

  • data extracted from data/raw/results

5. data/train_data/results (directory)

  • data processed from data/cleaned/results

6. data/statistics (directory)

  1. data/statistics/round_rankings (directory)
    • standings calculated based on the predicted match outcomes
    • each file in the directory has a date included in its name. It provides predicted standing outcomes at the denoted date
  2. data/statistics/prediction_ranking.csv
    • predicted standing at the end of the season
  3. data/statistics/prediction_result.csv
    • individual predicted match outcomes
  4. data/statistics/round_rankings_summary.csv
    • predicted standing summary over the course of the season

7. data/statistics/best_clf.joblib

  • disk cache of classifier that gives the best accuracy of prediction

8. data/database.db

  • sql database that stores previous match outcomes, predicted match results and predicted standings

9. data/train_data/final.csv

  • csv file used for training a model and making predictions

10. data/statistics/model_confidence.csv

  • list of grid searched classifiers and its confidence score
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].