Adventures with xgboost and the FIFA 20 dataset

Photo by Sven Kucinic on Unsplash

If you want to replicate the analysis described in this article, you can find all of the code on GitHub here

It’s all too easy to look back on events and think that we should’ve seen them coming. Surely, we think, we should have known that Bitcoin was going to be a thing, that Trump would win in 2016, that the iPod touch meant the end of phones with buttons on them.

The same is true of football transfers. It’s hard not to look back on moves like Andy Carroll to Liverpool, Fernando Torres to Chelsea, Alexis Sanchez to United…


Hands-on Tutorials

Or are they just getting lucky?

Photo by Alessio Festa on Unsplash

Some of my favourite footballing memories involve Manchester United having a terrible time. Dirk Kuyt’s hat-trick in 2011. Luis Suárez tucking in Liverpool’s third at Old Trafford in 2014. Pretty much everything to do with David Moyes. After enduring a pretty torrid 20–30 years, the last few seasons have been considerably kinder to those of us who aren’t so keen on that particular shade of red.

So, yeah, maybe I’m not the most impartial of analysts who could be writing a post like this. I am willing to admit there may be a chance that I’m more likely to pay…

Jack Tattersall

Senior Data Scientist and deputy head of profession for data science at the UK Department for Education. All views are my own, not those of the UK government

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store