Skip to content

BDooley11/fpl-squad-optimise

Repository files navigation

This script uses a python implementation of the 'knapsack problem' to pick the best Fanstasy Premier League team based on 3 different metrics.

  1. Points last season (position changes factored in ie Rashford points converted from FWD to MID).
  2. Points last season (value per minute played > 1000mins).
  3. Expected points (GW range is 1-8) gotten from site fplreview.com.

player_dataset.csv is generated using scripts in the 'database_scripts' directory. Process is outlined in the README in that directory.

Both 'squad_optimiser.ipynb' and 'squad_optimiser.py' do the same thing. A description of the parameters that can be used in the squad optimiser are outlined in both files and a sample output can be seen below.

squad optimise

expected

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published