Machine learning with football
A course in short chapters that swaps house prices for real league tables. Each chapter explains one idea and lets you try it on this season's data, with questions along the way to check you've got it.
The course starts from zero. School maths is enough. Chapter 1 explains what a model is and how supervised learning gets from data to a prediction. From chapter 2 on you train models yourself, starting with a line through the league table and working up to classification and neural networks, always on this season's real numbers from the Premier League and six other competitions.
1Introduction to machine learningThe four kinds of ML system, then supervised learning step by step on the real table. Six test questions at the end.2Linear regressionHow many points is a goal worth? Seven pages: the model, loss, gradient descent, hyperparameters, two exercises on the board and one in Python.3Logistic regressionWill the home side win? Bend a line into a probability with the sigmoid, then train it on every match with log loss. Three pages and a Python exercise that predicts the next matches.A–ZGlossaryAll 56 terms from the chapters, each with a football example and a link to where it is explained.
Coming next
- 4Classification
- 5Working with numerical data
- 6Working with categorical data
- 7Datasets, generalization and overfitting
- 8Neural networks