Dato-Futbol/xg-model
Dato-Futbol/xg-model has 81 GitHub stars and 11 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-23 05:01 UTC. Last push 2023-08-09.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
An example of how to create a xG model using R and Wyscout event data
데이터README.md
Originalxg-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
관련 프로젝트 살펴보기
불러오는 중…