Term paper for ECON4170 Data Science for Economists. I used material taught in the course at UiO to compare machine learning algorithms and their performance in predicting whether a shot was converted into a goal, a so-called Expected Goals (xG) model.
The data used is available from https://figshare.com/collections/Soccer_match_event_dataset/4415000/5