Implementation of defensive passing networks for football (soccer) analytics.
Project description
Folder structure
- defensive_network/:
- assets/: All files that are not code, e.g. xT weights
- models/: All analytics models such as expected threat, expected receiver, involvement, tracking-event synchronization, formations, ...
- parse/: To access data.
- tests/: Tests to ensure reliability of the code (use pytest to run)
- utility/: Various helper functions.
- old/: Old files we don't need anymore (but keep them just in case)
- scripts/: Various Streamlit dashboards and Python scripts to analyse the data
- secrets/: Token etc. for accessing Google Drive
Installation
- Clone the repository:
git clone https://github.com/jonas-bischofberger/defensive-network
cd defensive-network
- Create and activate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required packages:
pip install -r requirements.txt
- Run some analysis script!
streamlit run scripts/explore/Explore_defensive_network.py
streamlit run scripts/xt_statsbomb_correlation.py
streamlit run scripts/responsibility_and_google_drive.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
defensive_network-0.0.8.tar.gz
(160.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file defensive_network-0.0.8.tar.gz.
File metadata
- Download URL: defensive_network-0.0.8.tar.gz
- Upload date:
- Size: 160.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e8800d24e474d69e0279055fe37b906f348b1635abfc1954c9c2d7ae7c507e1
|
|
| MD5 |
7ef82b0bdfce74f75a299bbdc39410b8
|
|
| BLAKE2b-256 |
a8688e630c26903ad5144ac2cea57ebfa332189e8df39a0531884d5f47b0171d
|
File details
Details for the file defensive_network-0.0.8-py3-none-any.whl.
File metadata
- Download URL: defensive_network-0.0.8-py3-none-any.whl
- Upload date:
- Size: 177.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e73ea72ab50ac1abe4d54df3bb7f3d03897b12a8ea00a928c63586eef887954
|
|
| MD5 |
a5221c2bbb803a072f595e6a1df8631b
|
|
| BLAKE2b-256 |
557165bfb78f6bf7cc84b4b2b74cf9a590f87028490dc1e903d4d4aa30a82a44
|