alan-turing-institute/AIrsenal

Machine learning Fantasy Premier League team

What it solves

AIrsenal helps Fantasy Premier League (FPL) players optimize their team selection and transfer strategy using machine learning to maximize points.

How it works

The system operates as a pipeline that integrates data collection, prediction, and optimization:

  1. Data Management: It builds and updates a local SQLite database with historical data from the last three seasons and real-time data from the FPL API.
  2. Points Prediction: It uses a combination of a team-level model (to predict match scorelines) and a player-level model (to predict goal involvements), alongside historical heuristics, to estimate expected points for players.
  3. Optimization: An optimizer calculates the best transfer strategy and team lineup over a specified number of future gameweeks, including the strategic use of special chips like Wildcards and Free Hits.
  4. Execution: The tool can automatically apply recommended transfers and lineups directly to the FPL website via the user's credentials.

Who it’s for

Fantasy Premier League players who want a data-driven, automated approach to managing their squads.

Highlights

  • End-to-end pipeline: Automates everything from database setup to applying transfers.
  • Predictive modeling: Combines team and player-level ML models for point forecasting.
  • Multi-week optimization: Plans transfers and captaincy across multiple future gameweeks.
  • Direct FPL integration: Ability to push team changes directly to the official FPL platform.

Related

  • Project
  • Dispatch
  • Dispatch
  • Project
  • Project