Skip to content

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

Notifications You must be signed in to change notification settings

adelig/football-odds-reliability-predictor

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published