Coder Social home page Coder Social logo

adelig / football-odds-reliability-predictor Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 5.0 1.3 MB

Detect the most trustworthy tomorrow's English Premier League game (if any), based on historical betting odds data and the given odds for the upcoming matches.

License: GNU General Public License v3.0

Python 15.13% Jupyter Notebook 84.87%
time-series facebook-prophet forecasting betting-odds scraping-websites beautifulsoup

football-odds-reliability-predictor's Introduction

Football Odds - Reliability Predictor

alt text alt text

Notebook | Python code

Find out the most trustworthy football game out of all the scheduled English Premier League matches for tomorrow.

Initially, fetch all the historical betting odds data from season 2000/2001 onwards - every time the code executes it fetches the most updated data for the current season - and compute the average odds value (among all the available betting companies) for each particular match played for the three potential results Home/Draw/Away separately.

Then, scrape the William Hill bookmaker page and bring the list of all the scheduled English Premier League tomorrow's matches along with their offered odds for each potential outcome Home/Draw/Away.

For each one of the upcoming matches, filter out the initial database accordingly in order to keep only the given pair of teams over the years (and the respective odds). So, given the exact date of each game, and representing each of the three outcomes Home/Draw/Away as value y, can predict the next value of each of the three possible results as a time series next step. This is done utilizing the famous Facebook's Prophet forecasting algorithm which is robust to missing data, shifts in the trend, and large outliers.

Ending up, compute the sum of the distances between the three results among the offered and the predicted values for each one of the listed matches and pick the one with the minimum sum of distances. This is considered as the most reliable game to potentially bet on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.