Dataset Viewer
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code: FeaturesError
Exception: ArrowInvalid
Message: Schema at index 1 was different:
cluster: int64
att6: double
att7: double
att8: double
att9: double
att10: double
def4: double
def5: double
def6: double
run1: double
run2: double
run3: double
run4: double
run5: double
att1: double
att3: double
att15: double
att16: double
vs
match_id: int64
team_id: int64
att6: int64
att7: int64
att8: int64
att9: int64
att10: int64
def4: int64
def5: int64
def6: int64
run1: int64
run2: int64
run3: int64
run4: int64
run5: int64
att1: int64
att3: int64
att15: double
att16: double
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 246, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 4195, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2533, in _head
return next(iter(self.iter(batch_size=n)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2711, in iter
for key, pa_table in ex_iterable.iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2249, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 538, in _iter_arrow
yield new_key, pa.Table.from_batches(chunks_buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pyarrow/table.pxi", line 5039, in pyarrow.lib.Table.from_batches
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Schema at index 1 was different:
cluster: int64
att6: double
att7: double
att8: double
att9: double
att10: double
def4: double
def5: double
def6: double
run1: double
run2: double
run3: double
run4: double
run5: double
att1: double
att3: double
att15: double
att16: double
vs
match_id: int64
team_id: int64
att6: int64
att7: int64
att8: int64
att9: int64
att10: int64
def4: int64
def5: int64
def6: int64
run1: int64
run2: int64
run3: int64
run4: int64
run5: int64
att1: int64
att3: int64
att15: double
att16: doubleNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Soccer Feature Engineering Hackathon — 33 Match-Level Features
This repository contains a complete, reproducible feature engineering pipeline for the Kaggle Soccer Feature Engineering Hackathon, built from SkillCorner Open Data.
Output
features.csv— 18 rows (9 matches × 2 teams), 35 columns:match_id,team_id- 33 engineered features across 5 behavioral dimensions
All values are raw aggregated counts or cumulative distances — no percentages, no ratios.
Feature Architecture
| Dimension | Features | Description |
|---|---|---|
| Attacking Structure | att1–att5 |
Passes/carries into final third, opponents bypassed, last-line breaks, advanced possession |
| Build-Up Profile | att6–att10 |
Phase-type volume vector (build_up, direct, set_play, quick_break, transition) |
| Possession Quality | att11–att20 |
Tempo, threat creation, defensive-line displacement (metres), passing options |
| Pressing & Defensive Shape | def1–def7 |
Pressing volume, counter-press, recovery press, chain architecture, danger stopped |
| Off-Ball Movement Intelligence | run1–run5 + att_give_and_go_initiated |
Line-breaking, line-pushing, behind, overlap, attacking-third runs, give-and-go |
How to Run
git clone https://github.com/SkillCorner/opendata.git
pip install pandas numpy
python soccer_feature_engineering.py
The script dynamically discovers all *_dynamic_events.csv files via glob — no hardcoded match IDs required.
Extended Analysis
soccer_feature_engineering_extended.py adds:
| Output | Description |
|---|---|
features_first_half.csv |
All 33 features computed on 1st-half events only |
features_second_half.csv |
All 33 features computed on 2nd-half events only |
features_halves_diff.csv |
2nd half minus 1st half — reveals tactical fatigue & in-game adjustments |
behavioral_fingerprint.csv |
16-dim fingerprint per team-match (phase profile + pressing + runs + structure) |
cluster_labels.csv |
KMeans cluster assignments (k=4) on standardized fingerprint |
archetype_profiles.csv |
Centroid profiles for each discovered tactical archetype |
similarity_matrix.csv |
Pairwise cosine similarity between all 18 team-match fingerprints |
analysis.png |
Radar chart grid of the 4 archetypes |
Tactical Archetypes Discovered (k=4)
| Cluster | Signature | Characteristics |
|---|---|---|
| 0 — "Resilient Block" | Low build-up (71.6), modest pressing, balanced all-around | Conservative teams that stay compact; low risk, low reward |
| 1 — "Aggressive Dominator" | High build-up (85.0), massive pressing chains (231.7), elite off-ball runs (115.7) | High-press, high-tempo teams that generate territory and options |
| 2 — "Transition Specialist" | Low build-up (45.3), high quick_breaks (10.3), low runs (8.3) | Relies on direct play and transitions; minimal patient possession |
| 3 — "Organized Builder" | Highest build-up (90.3), balanced pressing, disciplined runs | Patient positional play with systematic defensive line pressure |
Data Source
SkillCorner Open Data — 9 matches of Australian A-League 2024/2025, MIT License.
Requirements
- Python 3.8+
- pandas, numpy
- scikit-learn (for extended clustering)
- matplotlib, seaborn (for extended visualizations)
- Downloads last month
- 27