My latest fancy has been the Fantasy Premier League, a go-to for every premier league fan in August to fend of the withdrawal pains of a football free summer. I’ve played it a bit back in college and fleetingly a few years ago but have always given up midway through. I wanted to play all the way this year by making it a bit more interesting.
Fantasy games are prime for data analysis and with free available data for the premier league, especially historical data from Vaastav’s FPL repository, I wanted to build an app to help pick the best team each week.
I started by running correlation analyses on various in-game stats and points earned over the past few seasons. Using that, I built an algorithm to pick the best team for the week with available budget and transfer considerations. I’m going to be playing my FPL season with these outputs and improve this algorithm as this season progresses. The app is open sourced and you can try the app below.