Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 91, in _split_generators
                  pa_table = next(iter(self._generate_tables(**splits[0].gen_kwargs, allow_full_read=False)))[1]
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 193, in _generate_tables
                  examples = [ujson_loads(line) for line in batch.splitlines()]
                              ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                         ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Expected Threat (xT) Grids

Data-driven xT grids computed via Markov chain value iteration from SPADL action data.

Method

Karun Singh (2018) "Introducing Expected Threat (xT)" — 12x8 grid, SPADL 105x68m coordinates. Value iteration converges to the probability that possession starting in each zone leads to a goal.

Contents

  • data/grids.parquet — All grids (per-competition + global) in long format
  • data/xt_grid_global.csv — Global grid CSV (dbt seed format)
  • metadata.json — Computation parameters and statistics

Columns (grids.parquet)

Column Type Description
zone_x int X zone index (0-11, attacking direction)
zone_y int Y zone index (0-7, pitch width)
xt_value float Expected threat value
competition_id string Competition ID or "global"

Usage

import pandas as pd
from huggingface_hub import hf_hub_download

path = hf_hub_download("luxury-lakehouse/expected-threat-grids", "data/grids.parquet", repo_type="dataset")
grids = pd.read_parquet(path)
global_grid = grids[grids["competition_id"] == "global"]

License

MIT — derived from StatsBomb and Wyscout open data via SPADL.

Downloads last month
114

Models trained or fine-tuned on luxury-lakehouse/expected-threat-grids