Moses Sabila

EPL Predictor

EPL Predictor

EPL Predictor is an interactive football analytics platform built with Python and Streamlit. It transforms historical English Premier League match data into a multi-page dashboard for season analysis, team comparison, league exploration, and machine-learning-assisted match prediction.

The project was designed to make statistical football analysis understandable and usable: instead of exposing a notebook of disconnected calculations, it presents model outputs, supporting metrics, and historical context in one focused interface.


Technical Highlights

Data pipeline

The application reads season files from data/ and engg_data/, standardises source-specific columns, derives missing full-time result and matchweek fields, and merges raw match facts with engineered features. Local data is preferred, with a network fallback for configured live seasons.

Prediction pipeline

For each fixture, the application retrieves the latest available team statistics, estimates scoring rates using attack and defensive strength, and generates a probability matrix for the first six goals of each team. Tree-based regressors provide an independent machine-learning view, while the ensemble smooths their output.

Product experience

The interface uses a dark stadium-inspired visual system with responsive cards, dense tables, colour-coded form indicators, and interactive Plotly charts. Each view is designed around a practical question:

  • What is happening in this season?
  • How might this fixture finish?
  • Where does each club sit in the table?
  • How has one team performed at home and away?
  • What does the historical rivalry suggest?

Features

Season Home

Season totals, champion summary, top-five clubs, and home/away snapshots.

Match Predictor

Projected score, result probabilities, model comparison, RMSE, and exact-score matrix.

League Table

Sortable-style league presentation with points, goal difference, home/away records, and form.

Team Deep Dive

Team-level performance cards, home and away records, and goals per matchweek.

Head to Head

Historical meetings, win share, goals, and season-by-season results for two selected teams.