Skip to content
プロジェクト

概要

An example of how to create a xG model using R and Wyscout event data

データ

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

xg-model

This repository contains all the necessary codes to ideally reproduce the data processing, analysis and visualization described in this article, which is focused on how to fit a football xg model using R software and the public event dataset by Wyscout.

Before to use these codes you have to get this list of required datasets:

  • events_England.json
  • events_France.json
  • events_Germany.json
  • events_Italy.json
  • events_Spain.json
  • players.json

You can download them from this website.


Then, I suggest to use the codes in the following order:

  • 01code_load_process_rawdata.R
  • 02code_feature_creation_exploratory_analysis.R
  • 03code_fit_save_models.R
  • 04code_evaluate_use_models.R

TO DO List (14-05-2020)

  • Evaluate calibration of the models with Brier score following the method contained in this article

  • Test additional features

関連プロジェクトを探す

読み込み中…