GitHub - andrebrener/expected_goals: Machine Learning models to predict goals in football games.

1 min read Original article ↗

Expected Goals Model

This repo uses Machine Learning models to predict football goals. The scripts are written and intended to use with Python 3. The data to be used is taken from a Sqwawka crawler, in which every game must be saved in a directory named data/{competition} in the repo.

Getting Started

1. Clone Repo

git clone https://github.com/andrebrener/expected_goals.git

2. Install Packages Required

Go in the directory of the repo and run: pip install -r requirements.txt

3. Enjoy the repo :)

You can see the analysis using this code in this post.