Datasets:
origin_zone int64 0 399 ⌀ | target_zone int64 0 399 ⌀ | probability float64 0 1 ⌀ | competition_id stringclasses 29
values |
|---|---|---|---|
0 | 0 | 0.116883 | 2 |
0 | 1 | 0.051948 | 2 |
0 | 2 | 0.025974 | 2 |
0 | 3 | 0.038961 | 2 |
0 | 4 | 0.012987 | 2 |
0 | 5 | 0.006494 | 2 |
0 | 9 | 0.006494 | 2 |
0 | 11 | 0.012987 | 2 |
0 | 25 | 0.077922 | 2 |
0 | 26 | 0.038961 | 2 |
0 | 27 | 0.012987 | 2 |
0 | 28 | 0.025974 | 2 |
0 | 29 | 0.006494 | 2 |
0 | 32 | 0.012987 | 2 |
0 | 33 | 0.006494 | 2 |
0 | 34 | 0.006494 | 2 |
0 | 50 | 0.038961 | 2 |
0 | 51 | 0.058442 | 2 |
0 | 52 | 0.032468 | 2 |
0 | 54 | 0.012987 | 2 |
0 | 58 | 0.006494 | 2 |
0 | 75 | 0.019481 | 2 |
0 | 76 | 0.032468 | 2 |
0 | 77 | 0.038961 | 2 |
0 | 78 | 0.006494 | 2 |
0 | 79 | 0.012987 | 2 |
0 | 81 | 0.006494 | 2 |
0 | 100 | 0.012987 | 2 |
0 | 101 | 0.038961 | 2 |
0 | 102 | 0.025974 | 2 |
0 | 103 | 0.006494 | 2 |
0 | 104 | 0.006494 | 2 |
0 | 126 | 0.006494 | 2 |
0 | 127 | 0.012987 | 2 |
0 | 128 | 0.006494 | 2 |
0 | 129 | 0.006494 | 2 |
0 | 137 | 0.006494 | 2 |
0 | 156 | 0.006494 | 2 |
0 | 178 | 0.019481 | 2 |
0 | 180 | 0.006494 | 2 |
0 | 182 | 0.006494 | 2 |
0 | 201 | 0.006494 | 2 |
0 | 205 | 0.006494 | 2 |
0 | 207 | 0.006494 | 2 |
0 | 298 | 0.006494 | 2 |
0 | 299 | 0.006494 | 2 |
0 | 324 | 0.006494 | 2 |
0 | 349 | 0.012987 | 2 |
0 | 374 | 0.019481 | 2 |
0 | 388 | 0.006494 | 2 |
0 | 399 | 0.025974 | 2 |
1 | 0 | 0.080189 | 2 |
1 | 1 | 0.25 | 2 |
1 | 2 | 0.051887 | 2 |
1 | 3 | 0.023585 | 2 |
1 | 4 | 0.014151 | 2 |
1 | 5 | 0.009434 | 2 |
1 | 6 | 0.009434 | 2 |
1 | 7 | 0.018868 | 2 |
1 | 11 | 0.009434 | 2 |
1 | 13 | 0.004717 | 2 |
1 | 25 | 0.080189 | 2 |
1 | 26 | 0.089623 | 2 |
1 | 27 | 0.018868 | 2 |
1 | 28 | 0.033019 | 2 |
1 | 29 | 0.018868 | 2 |
1 | 30 | 0.004717 | 2 |
1 | 31 | 0.014151 | 2 |
1 | 36 | 0.004717 | 2 |
1 | 50 | 0.009434 | 2 |
1 | 51 | 0.014151 | 2 |
1 | 52 | 0.023585 | 2 |
1 | 53 | 0.018868 | 2 |
1 | 54 | 0.004717 | 2 |
1 | 56 | 0.004717 | 2 |
1 | 75 | 0.009434 | 2 |
1 | 76 | 0.009434 | 2 |
1 | 78 | 0.009434 | 2 |
1 | 80 | 0.004717 | 2 |
1 | 81 | 0.004717 | 2 |
1 | 82 | 0.004717 | 2 |
1 | 101 | 0.004717 | 2 |
1 | 102 | 0.004717 | 2 |
1 | 106 | 0.004717 | 2 |
1 | 127 | 0.004717 | 2 |
1 | 129 | 0.004717 | 2 |
1 | 130 | 0.004717 | 2 |
1 | 151 | 0.004717 | 2 |
1 | 153 | 0.004717 | 2 |
1 | 154 | 0.014151 | 2 |
1 | 155 | 0.009434 | 2 |
1 | 188 | 0.004717 | 2 |
1 | 200 | 0.004717 | 2 |
1 | 202 | 0.004717 | 2 |
1 | 226 | 0.004717 | 2 |
1 | 232 | 0.004717 | 2 |
1 | 247 | 0.004717 | 2 |
1 | 252 | 0.004717 | 2 |
1 | 257 | 0.004717 | 2 |
1 | 274 | 0.004717 | 2 |
OBSO Trained Grids — Reachability, EPV, and Completion Matrices
Pre-trained grid artifacts for Off-Ball Scoring Opportunity (OBSO) computation: ball reachability surfaces, expected possession value (EPV) grids, and pass completion probability matrices. These are the static lookup tables that power real-time OBSO evaluation — derived from observed passing, shooting, and transition patterns across ~4,900 open-data matches.
Part of the (Right! Luxury!) Lakehouse soccer analytics platform.
Quick Start
from huggingface_hub import hf_hub_download
import pandas as pd
repo = "luxury-lakehouse/obso-trained-grids"
# Load the global reachability grid (100x64)
reach_path = hf_hub_download(repo, "data/reachability_grid_global.parquet", repo_type="dataset")
reach_df = pd.read_parquet(reach_path)
reach_matrix = reach_df.pivot(index="zone_y", columns="zone_x", values="reachability")
print(f"Reachability grid shape: {reach_matrix.shape}") # (100, 64)
# Load the global EPV grid (50x32)
epv_path = hf_hub_download(repo, "data/epv_grid_global.parquet", repo_type="dataset")
epv_df = pd.read_parquet(epv_path)
epv_matrix = epv_df.pivot(index="zone_y", columns="zone_x", values="epv_value")
print(f"EPV grid shape: {epv_matrix.shape}") # (50, 32)
Explore interactively: Soccer Analytics App
What Is This Dataset?
The OBSO model evaluates off-ball scoring opportunities by combining three components:
- Reachability — the probability that a ball played to a given zone can be controlled by the receiving team, based on observed reception patterns.
- Expected Possession Value (EPV) — the probability that a possession in a given zone will result in a goal, estimated via value iteration over transition and shot frequencies.
- Pass Completion Probability — the likelihood that a pass from one zone to another is completed, estimated from observed pass outcomes.
These grids are pre-computed from event data and serve as static inputs to the real-time OBSO pipeline, which combines them with dynamic pitch control surfaces.
Data Fields
The dataset contains three types of grid artifacts at different resolutions, plus per-competition variants.
Reachability Grid (reachability_grid_global.parquet)
| Column | Type | Description |
|---|---|---|
zone_y |
int |
Grid row index (0–99) |
zone_x |
int |
Grid column index (0–63) |
reachability |
float |
Ball reachability probability (0–1) |
Grid resolution: 100×64 (105m ÷ 100 = 1.05m per row, 68m ÷ 64 = 1.0625m per column).
EPV Grid (epv_grid_global.parquet)
| Column | Type | Description |
|---|---|---|
zone_y |
int |
Grid row index (0–49) |
zone_x |
int |
Grid column index (0–31) |
epv_value |
float |
Expected possession value (0–1, higher = closer to goal) |
Grid resolution: 50×32 (105m ÷ 50 = 2.1m per row, 68m ÷ 32 = 2.125m per column).
Completion Matrix (completion_matrix_global.parquet)
| Column | Type | Description |
|---|---|---|
origin_zone |
int |
Flat index of the origin zone (0–399) |
target_zone |
int |
Flat index of the target zone (0–399) |
probability |
float |
Pass completion probability (row-normalized, 0–1) |
Zone grid: 25×16 = 400 zones (105m ÷ 25 = 4.2m per row, 68m ÷ 16 = 4.25m per column).
Per-Competition Variants
Per-competition files (*_all.parquet) include an additional competition_id column. These allow competition-specific OBSO computation where sufficient data exists.
Coordinate System
All grids map to the SPADL 105×68 meters pitch coordinate space. Grid resolution varies by artifact type (see tables above). The origin (0, 0) is at the bottom-left corner of the attacking team's half.
Data Sources
| Source | Matches | License |
|---|---|---|
| StatsBomb Open Data | ~3,000 | CC-BY 4.0 |
| Wyscout Public Dataset | ~1,900 | CC-BY-NC 4.0 |
All event data is converted to SPADL format before grid estimation.
Companion Resources
| Resource | Description |
|---|---|
| OBSO/PAUSA Values | Per-pass OBSO and PAUSA scores computed using these grids |
| Expected Threat (xT) Grids | Markov chain xT grids from the same source data |
| SPADL/VAEP Action Values | Per-action VAEP scores from the same source events |
Limitations
- Open data only: Grids are trained on publicly available StatsBomb and Wyscout data. Commercial datasets with denser event coverage may yield different surfaces.
- Competition-agnostic global grids: The global variants pool all competitions. League-specific tactical patterns (e.g., high-press vs. low-block) are averaged away.
- Static estimates: Grids are computed from full-season aggregates. They do not adapt to in-game state (score, time, fatigue, personnel).
- Resolution trade-offs: Each grid uses a different resolution optimized for its purpose. Interpolation is required when combining grids of different resolutions.
- No goalkeeper modeling: Reachability and EPV grids do not distinguish goalkeeper positioning from outfield player patterns.
Citation
If you use this dataset, please cite the underlying models:
@misc{singh2018expected,
title={Introducing Expected Threat (xT)},
author={Singh, Karun},
year={2018},
url={https://karun.in/blog/expected-threat.html}
}
@inproceedings{spearman2018beyond,
title={Beyond Expected Goals},
author={Spearman, William},
booktitle={MIT Sloan Sports Analytics Conference},
year={2018}
}
@inproceedings{fernandez2018wide,
title={Wide Open Spaces: A statistical technique for measuring space creation in professional soccer},
author={Fernandez, Javier and Bornn, Luke},
booktitle={MIT Sloan Sports Analytics Conference},
year={2018}
}
@inproceedings{lee2026pausa,
title={Valuing La Pausa: Quantifying the Timing and Quality of Soccer Passes Using Off-Ball Scoring Opportunities},
author={Lee, Minho and Jo, Hyunsung and Hong, Seungwon and Bauer, Pascal and Ko, Sangkuk},
booktitle={MIT Sloan Sports Analytics Conference},
year={2026}
}
More Information
Explore interactively: Soccer Analytics App
- License: MIT
- Publish script:
scripts/compute_epv_transition_hf.py
- Downloads last month
- 60