Skip to main content

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

  1. Clone the repository:
git clone https://github.com/jonas-bischofberger/defensive-network
cd defensive-network
  1. Create and activate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. Install the required packages:
pip install -r requirements.txt
  1. 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.7.tar.gz (75.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

defensive_network-0.0.7-py3-none-any.whl (83.4 kB view details)

Uploaded Python 3

File details

Details for the file defensive_network-0.0.7.tar.gz.

File metadata

  • Download URL: defensive_network-0.0.7.tar.gz
  • Upload date:
  • Size: 75.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for defensive_network-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c89ef7e3008d3e3c93bb1ee1f893c3d97ec341863256c3b27dd3a010b2386977
MD5 b9aea835bfffb29238f8166574b99ddc
BLAKE2b-256 2d325208778c52270397ce336e7457c7967568010d55522a03d22605f873398f

See more details on using hashes here.

File details

Details for the file defensive_network-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for defensive_network-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 abf7bbba442240beea8a390996c2a482f26079b964f981dcc28cf06d951ff67e
MD5 cc887397117dc7fb33dc6ad185805675
BLAKE2b-256 24385af6cc14fb7f76b863b0ff52f45db0ecfc0b06c9e8a4e31f8b3747ce6c65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page