Skip to content

This repository contains a project developed in R aimed at creating a new model for evaluating Expected Goals (xG) in football.

License

Notifications You must be signed in to change notification settings

mat126/Expected-Goals-xG-model-in-Football

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xG Model Selection in Football

This repository presents a comparative evaluation of statistical and machine learning models for estimating Expected Goals (xG) in football, using a cleaned and enriched open-source dataset.

📘 Notebook: notebooks/xg-model-selection.ipynb
📊 Dataset: Kaggle - Shots Dataset for Football
📄 Published Article: Zenodo DOI
DOI


Models Compared

  • Logistic Regression
  • Linear Discriminant Analysis (LDA)
  • Bagging Classifier
  • Random Forest (with GridSearchCV tuning)
  • Feedforward Neural Network (Keras + TensorFlow)
  • SHAP Explainability for neural models

Evaluation Metrics

  • Confusion Matrix (threshold = 0.3)
  • ROC Curve & AUC
  • Calibration Curve
  • Precision, Recall, F1-score
  • Brier Score

Installation

To reproduce the environment:

pip install -r requirements.txt

License

This project is distributed under the MIT License.

About

This repository contains a project developed in R aimed at creating a new model for evaluating Expected Goals (xG) in football.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published