Git Product home page Git Product logo

fot-valuing-actions's Introduction

Friends of Tracking: Valuing actions in football

This repository provides presentations and tutorials that demonstrate how to value on-the-ball actions in football.

The tutorials use the open-source socceraction Python library and the publicly available Wyscout match event dataset.

The dataset includes data for the 2017/2018 English Premier League, the 2017/2018 Spanish Primera División, the 2017/2018 German 1. Bundesliga, the 2017/2018 Italian Serie A, the 2017/2018 French Ligue 1, the 2018 FIFA World Cup and the UEFA Euro 2016. The dataset covers 1,941 matches, 3,251,294 events and 4,299 players.

The environment.yml file and requirements.txt file list the required Python dependencies. The notebooks are compatible with version 0.2.0 of the socceraction Python library. If a more recent version of the library is installed, the code may need to be adapted.

Content

Introduction in Friends of Tracking (video)

This introductory presentation, which was given in the Friends of Tracking session that took place on Thursday 7 May 2020, motivates the use of data for player recruitment in football, shows the limitations of traditional statistics to assess the performances of football players, introduces a number of frameworks for valuing actions of football players, provides an intuitive explanation of the VAEP framework for valuing actions of football players, and introduces the content of this series of hands-on video tutorials.

Presentation: Valuing actions in football (video, slides)

This presentation expands on the content of the introductory presentation by discussing the technicalities behind the VAEP framework for valuing actions of football players as well as the content of the hands-on video tutorials in more depth.

Tutorial 1: Run pipeline (video, notebook, notebook on Google Colab)

This tutorial demonstrates the entire pipeline of ingesting the raw Wyscout match event data to producing ratings for football players. This tutorial touches upon the following four topics: downloading and preprocessing the data, valuing game states, valuing actions and rating players.

Tutorial 2: Generate features (video, notebook, notebook on Google Colab)

This tutorial demonstrates the process of generating features and labels. This tutorial touches upon the following three topics: exploring the data in the SPADL representation, constructing features to represent actions and constructing features to represent game states.

Tutorial 3: Learn models (video, notebook, notebook on Google Colab)

This tutorial demonstrates the process of splitting the dataset into a training set and a test set, learning baseline models using conservative hyperparameters for the learning algorithm, optimizing the hyperparameters for the learning algorithm and learning the final models.

Tutorial 4: Analyze models and results (video, notebook, notebook on Google Colab)

This tutorial demonstrates the process of analyzing the importance of the features that are included in the trained machine learning models, analyzing the predictions for specific game states, and analyzing the resulting player ratings.

References

Authors

fot-valuing-actions's People

Contributors

lottebransen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.