shuxueshuxue / Dual-Temporal-Bayesian-Network

MCM2024 Outstanding Winner & AMS Award

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dual-Temporal Bayesian Network for Tennis Match Momentum Analysis

Overview

This repository contains the implementation and analysis of a Dual-Temporal Bayesian Network model designed to investigate the dynamics of momentum in tennis matches. By analyzing data from the Wimbledon 2023 competition and additional datasets, our model addresses several key questions related to performance metrics, momentum existence, prediction, and the application of findings to coaching strategies.

Our Model Diagram Our Work Snapshot

Repository Structure

Dual-Temporal-Bayesian-Network/
├── data
│ └── Wimbledon_featured_matches.csv
├── docs
│ ├── award
│ │ └── certificate.pdf
│ ├── paper
│ │ └── publication.pdf
├── models
│ ├── Model.bif
│ ├── SingleLayerModel.bif
│ ├── WomanModel.bif
├── scripts
│ ├── Problem1
│ ├── Problem2
│ ├── Problem3
│ │ └── Q3(betterTester).py
│ ├── Problem4
│ ├── getRelativeRanks.py
│ ├── pre_drawMatchRelationGraph.py
│ └── pre_structure.py
└── README.md

Features

  • Performance Metrics: Implementation of server/returner reweighting and sliding window analysis.
  • Momentum Existence: Statistical tests (e.g., Ljung-Box Q Test, Runs Test) to explore momentum effects.
  • Momentum Prediction: Development of a Dual-Temporal Bayesian Network to predict momentum's residual effects.
  • Predictive Analysis: Validation of the model's predictions against actual match outcomes and exploration of gender-specific dynamics.
  • Coaching Strategies: Insights and actionable strategies derived from model findings to aid coaches.

Installation

To set up this project, you only need to clone the repository.

git clone https://github.com/yourgithubusername/Dual-Temporal-Bayesian-Network.git

Usage

Run scripts associated with each problem statement as follows:

python scripts/Problem3/Q3(betterTester).py

Contribution

Contributions to this project are welcome. Please fork the repository and submit a pull request with your enhancements.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contact For any queries, please open an issue in the repository, and we will get back to you as soon as possible.

Acknowledgements Wimbledon Data Science Team for the dataset. Contributors who have provided insights and reviews on the methodologies.

About

MCM2024 Outstanding Winner & AMS Award

License:MIT License


Languages

Language:Python 100.0%