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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
- tabular-regression
|
| 6 |
+
- feature-extraction
|
| 7 |
+
- other
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
tags:
|
| 11 |
+
- cs2
|
| 12 |
+
- counter-strike
|
| 13 |
+
- esports
|
| 14 |
+
- sports-analytics
|
| 15 |
+
- competitive-gaming
|
| 16 |
+
- machine-learning
|
| 17 |
+
- elo
|
| 18 |
+
- feature-engineering
|
| 19 |
+
- win-prediction
|
| 20 |
+
- sports-betting
|
| 21 |
+
- tabular-data
|
| 22 |
+
size_categories:
|
| 23 |
+
- 10K<n<100K
|
| 24 |
+
pretty_name: CounterQuant CS2 GoldLite
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# CounterQuant CS2 GoldLite
|
| 28 |
+
|
| 29 |
+
**ML-ready feature tables for professional CS2 match outcome modelling — Elo ratings, team form, head-to-head records, and event context. No black boxes, no proprietary signals.**
|
| 30 |
+
|
| 31 |
+
> ⭐ If you use this dataset in research, a product, or any publication,
|
| 32 |
+
> please **cite the author** (see [Citation](#citation) below).
|
| 33 |
+
|
| 34 |
+
GoldLite is the open, reproducible subset of CounterQuant's internal feature pipeline. It provides pre-computed, match-level features derived entirely from public match results and event metadata — no demo parsing required, no market data, no model outputs. Train your own win-prediction model on a decade of professional CS2.
|
| 35 |
+
|
| 36 |
+
Curated and maintained by **[Eimantas Kulbe (KEDevO)](https://counterquant.com)** as part of the **CounterQuant** esports intelligence platform.
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## The CounterQuant Data Stack
|
| 41 |
+
|
| 42 |
+
GoldLite is the top public-facing tier of a four-layer architecture:
|
| 43 |
+
|
| 44 |
+
| Tier | Dataset | Contents | Status |
|
| 45 |
+
|------|---------|----------|--------|
|
| 46 |
+
| **Raw demos** | [CounterQuant CS2 Demos](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos) | Raw `.dem` files | Live |
|
| 47 |
+
| **Bronze** | [CounterQuant CS2 Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze) | Tick-level events: kills, damages, flashes, utility | Live, growing |
|
| 48 |
+
| **Silver** | [CounterQuant CS2 Silver](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Silver) | Match results, map scores, player stats, rosters | Staging for export |
|
| 49 |
+
| **Gold Lite** ← *this dataset* | — | Elo, form, H2H, event context — ML features | Staging for export |
|
| 50 |
+
|
| 51 |
+
The full internal Gold layer (demo-derived features, market signals, 509-feature ML vectors) is proprietary and powers the CounterQuant prediction API. GoldLite is the public, reproducible subset of that pipeline.
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## Dataset at a Glance
|
| 56 |
+
|
| 57 |
+
| Metric | Value |
|
| 58 |
+
|--------|-------|
|
| 59 |
+
| **Team Elo records in DB** | 45,502 (per team, per map pool) |
|
| 60 |
+
| **Matches with features** | Growing — 2024 first public batch |
|
| 61 |
+
| **Year range (planned)** | 2012 – 2024 (first release) |
|
| 62 |
+
| **Feature count (GoldLite)** | ~50 pre-match features |
|
| 63 |
+
| **Full pipeline feature count** | 509 (internal, not released) |
|
| 64 |
+
| **Format** | Parquet (Snappy compression) |
|
| 65 |
+
| **License** | CC BY 4.0 |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## Current State & Release Schedule
|
| 70 |
+
|
| 71 |
+
> **GoldLite is not yet published to HuggingFace as Parquet files.**
|
| 72 |
+
> Elo ratings are computed and live in CounterQuant's database.
|
| 73 |
+
> The pre-match feature export is in progress, with 2024 as the first public batch.
|
| 74 |
+
|
| 75 |
+
| Release | Coverage | Target Date | Notes |
|
| 76 |
+
|---------|----------|-------------|-------|
|
| 77 |
+
| **v1 — 2024** | Jan 2024 – Dec 2024 | Q3 2026 | First public release, alongside Silver |
|
| 78 |
+
| **Backfill — 2012–2023** | 2012 – 2023 | Q4 2026 | Historical Elo + features |
|
| 79 |
+
| **v2 — 2025** | 2025 | 2027 | 2-year delay policy |
|
| 80 |
+
| **2026+** | 2026+ | 2028+ | 2-year delay minimum |
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
## What's in GoldLite
|
| 85 |
+
|
| 86 |
+
GoldLite contains **pre-match features computed from historical match results** — the information that would be available to a predictor at kick-off. All features are constructed from public sources only.
|
| 87 |
+
|
| 88 |
+
### Feature categories
|
| 89 |
+
|
| 90 |
+
| Category | Features | Source |
|
| 91 |
+
|----------|----------|--------|
|
| 92 |
+
| **Elo ratings** | Global team Elo, per-map Elo, Elo uncertainty, Elo differential | Computed from Silver match results |
|
| 93 |
+
| **Recent form** | Win rate last 5/10/20 matches, map differential last 10, days since last match | Silver matches |
|
| 94 |
+
| **Head-to-head** | All-time H2H record, last 12 months H2H, H2H on specific map | Silver matches |
|
| 95 |
+
| **Map pool** | Team win rate per map (last 30 games), map familiarity score, most/least played maps | Silver maps |
|
| 96 |
+
| **Event context** | Prize pool tier, LAN vs online, event stage (groups/playoffs/final), days to event end | Silver events |
|
| 97 |
+
| **Roster stability** | Avg days together, roster change flag (last 30 days) | Silver rosters |
|
| 98 |
+
| **Player aggregate** | Avg team rating last 20 maps, avg ADR last 20 maps, avg KAST last 20 maps | Silver player_stats |
|
| 99 |
+
|
| 100 |
+
### What GoldLite does NOT include
|
| 101 |
+
|
| 102 |
+
| Excluded | Where it lives |
|
| 103 |
+
|----------|---------------|
|
| 104 |
+
| Demo-derived features (eco win rates, KAST, trade kills, utility efficiency) | Internal Gold (CounterQuant API) |
|
| 105 |
+
| Polymarket / betting market odds | Private, never released |
|
| 106 |
+
| XGBoost/LightGBM model output probabilities | Private (CounterQuant predictions) |
|
| 107 |
+
| 509-feature full ML vectors | Private (CounterQuant API) |
|
| 108 |
+
| Live round-by-round probability updates | Private (CounterQuant live feed) |
|
| 109 |
+
| Proprietary tactical embeddings | Private, never released |
|
| 110 |
+
|
| 111 |
+
If you need demo-derived features, use [Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze) and compute them yourself — that's exactly what CounterQuant does internally.
|
| 112 |
+
|
| 113 |
+
---
|
| 114 |
+
|
| 115 |
+
## Planned File Structure
|
| 116 |
+
|
| 117 |
+
```
|
| 118 |
+
data/
|
| 119 |
+
├── team_elo/
|
| 120 |
+
│ ├── team_elo_2024.parquet # Elo snapshot at each match played in 2024
|
| 121 |
+
│ ├── team_elo_2012_2023.parquet # Historical backfill
|
| 122 |
+
│ └── team_elo_current.parquet # Latest Elo per team per map (updated)
|
| 123 |
+
├── match_features/
|
| 124 |
+
│ ├── match_features_2024.parquet # Pre-match feature vector per 2024 match
|
| 125 |
+
│ └── match_features_2012_2023.parquet
|
| 126 |
+
├── player_rolling_stats/
|
| 127 |
+
│ ├── player_rolling_2024.parquet # Rolling 5/10/20-match averages per player
|
| 128 |
+
│ └── ...
|
| 129 |
+
└── map_pool/
|
| 130 |
+
├── map_pool_stats_2024.parquet # Team win rates per map, as of each match
|
| 131 |
+
└── ...
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
## Schema Reference
|
| 137 |
+
|
| 138 |
+
### `team_elo_YYYY.parquet`
|
| 139 |
+
|
| 140 |
+
Elo rating for each team at the point of each match. One row per team per match.
|
| 141 |
+
|
| 142 |
+
| Column | Type | Description |
|
| 143 |
+
|--------|------|-------------|
|
| 144 |
+
| `match_id` | int64 | Match ID |
|
| 145 |
+
| `team_id` | int64 | Team ID |
|
| 146 |
+
| `team_name` | string | Team name (denormalized) |
|
| 147 |
+
| `map_name` | string | `all` for global Elo; CS2 map name for map-specific Elo |
|
| 148 |
+
| `elo_before` | float32 | Elo rating entering this match |
|
| 149 |
+
| `elo_after` | float32 | Elo rating after this match |
|
| 150 |
+
| `elo_change` | float32 | Delta (positive = won, negative = lost) |
|
| 151 |
+
| `uncertainty` | float32 | Elo uncertainty / confidence interval |
|
| 152 |
+
| `matches_played` | int32 | Total matches used to compute this rating |
|
| 153 |
+
| `date` | date | Match date |
|
| 154 |
+
|
| 155 |
+
---
|
| 156 |
+
|
| 157 |
+
### `match_features_YYYY.parquet`
|
| 158 |
+
|
| 159 |
+
Pre-match feature snapshot. One row per match, all features computed from data available **before** kick-off. Safe for train/test split — no data leakage.
|
| 160 |
+
|
| 161 |
+
| Column | Type | Description |
|
| 162 |
+
|--------|------|-------------|
|
| 163 |
+
| `match_id` | int64 | HLTV match ID |
|
| 164 |
+
| `date` | date | Match date |
|
| 165 |
+
| `tier` | int16 | Match tier (1/2/3) |
|
| 166 |
+
| `is_lan` | bool | LAN event |
|
| 167 |
+
| `prize_pool_usd` | int32 | Event prize pool in USD |
|
| 168 |
+
| `team1_id` | int64 | Team 1 ID |
|
| 169 |
+
| `team2_id` | int64 | Team 2 ID |
|
| 170 |
+
| `team1_elo` | float32 | Global Elo entering this match |
|
| 171 |
+
| `team2_elo` | float32 | Global Elo entering this match |
|
| 172 |
+
| `elo_diff` | float32 | team1_elo − team2_elo |
|
| 173 |
+
| `team1_form_5` | float32 | Win rate last 5 matches |
|
| 174 |
+
| `team2_form_5` | float32 | Win rate last 5 matches |
|
| 175 |
+
| `team1_form_10` | float32 | Win rate last 10 matches |
|
| 176 |
+
| `team2_form_10` | float32 | Win rate last 10 matches |
|
| 177 |
+
| `team1_map_diff_10` | float32 | Map differential (maps won − lost) last 10 |
|
| 178 |
+
| `team2_map_diff_10` | float32 | Map differential last 10 |
|
| 179 |
+
| `h2h_team1_wins` | int16 | All-time H2H wins for team 1 |
|
| 180 |
+
| `h2h_team2_wins` | int16 | All-time H2H wins for team 2 |
|
| 181 |
+
| `h2h_team1_wins_12m` | int16 | H2H wins last 12 months |
|
| 182 |
+
| `h2h_team2_wins_12m` | int16 | H2H wins last 12 months |
|
| 183 |
+
| `team1_days_since_match` | int16 | Days since team 1's last match |
|
| 184 |
+
| `team2_days_since_match` | int16 | Days since team 2's last match |
|
| 185 |
+
| `team1_avg_rating_20` | float32 | Avg team player rating last 20 maps |
|
| 186 |
+
| `team2_avg_rating_20` | float32 | Avg team player rating last 20 maps |
|
| 187 |
+
| `team1_avg_adr_20` | float32 | Avg team ADR last 20 maps |
|
| 188 |
+
| `team2_avg_adr_20` | float32 | Avg team ADR last 20 maps |
|
| 189 |
+
| `roster_change_team1_30d` | bool | Team 1 had a roster change in last 30 days |
|
| 190 |
+
| `roster_change_team2_30d` | bool | Team 2 had a roster change in last 30 days |
|
| 191 |
+
| `team1_won` | bool | **Label** — did team 1 win? (null = match not completed) |
|
| 192 |
+
|
| 193 |
+
---
|
| 194 |
+
|
| 195 |
+
### `player_rolling_YYYY.parquet`
|
| 196 |
+
|
| 197 |
+
Rolling player performance windows, computed at each match. Useful for player-level predictions and ranking models.
|
| 198 |
+
|
| 199 |
+
| Column | Type | Description |
|
| 200 |
+
|--------|------|-------------|
|
| 201 |
+
| `match_id` | int64 | Match ID |
|
| 202 |
+
| `player_id` | int64 | Player ID |
|
| 203 |
+
| `player_ign` | string | IGN |
|
| 204 |
+
| `team_id` | int64 | Team ID at this match |
|
| 205 |
+
| `maps_played_total` | int16 | Career maps played at this point |
|
| 206 |
+
| `rolling_kills_5` | float32 | Avg kills per map last 5 maps |
|
| 207 |
+
| `rolling_kills_10` | float32 | Avg kills per map last 10 maps |
|
| 208 |
+
| `rolling_adr_10` | float32 | Avg ADR last 10 maps |
|
| 209 |
+
| `rolling_adr_20` | float32 | Avg ADR last 20 maps |
|
| 210 |
+
| `rolling_kast_10` | float32 | Avg KAST last 10 maps |
|
| 211 |
+
| `rolling_rating_20` | float32 | Avg HLTV Rating 2.0 last 20 maps |
|
| 212 |
+
| `rating_trend_10` | float32 | Linear slope of rating over last 10 maps (form direction) |
|
| 213 |
+
| `days_since_last_match` | int16 | Days since player's last match |
|
| 214 |
+
|
| 215 |
+
---
|
| 216 |
+
|
| 217 |
+
### `map_pool_stats_YYYY.parquet`
|
| 218 |
+
|
| 219 |
+
Team win rates per map, computed at each match date (so you can join to match_features for map-specific models).
|
| 220 |
+
|
| 221 |
+
| Column | Type | Description |
|
| 222 |
+
|--------|------|-------------|
|
| 223 |
+
| `as_of_match_id` | int64 | The match this snapshot was computed for |
|
| 224 |
+
| `as_of_date` | date | Date of the snapshot |
|
| 225 |
+
| `team_id` | int64 | Team ID |
|
| 226 |
+
| `map_name` | string | CS2 map name |
|
| 227 |
+
| `maps_played` | int16 | Maps played on this map (last 2 years) |
|
| 228 |
+
| `maps_won` | int16 | Maps won |
|
| 229 |
+
| `win_rate` | float32 | Win rate (0–1) |
|
| 230 |
+
| `maps_played_tier1` | int16 | Maps played at Tier 1 only |
|
| 231 |
+
| `win_rate_tier1` | float32 | Win rate at Tier 1 |
|
| 232 |
+
|
| 233 |
+
---
|
| 234 |
+
|
| 235 |
+
## Quick Start (Preview)
|
| 236 |
+
|
| 237 |
+
Once 2024 data is published:
|
| 238 |
+
|
| 239 |
+
```python
|
| 240 |
+
import polars as pl
|
| 241 |
+
from huggingface_hub import hf_hub_download
|
| 242 |
+
|
| 243 |
+
# Download pre-match features for 2024
|
| 244 |
+
path = hf_hub_download(
|
| 245 |
+
repo_id="KEDevO/CounterQuant-CS2-GoldLite",
|
| 246 |
+
repo_type="dataset",
|
| 247 |
+
filename="data/match_features/match_features_2024.parquet",
|
| 248 |
+
)
|
| 249 |
+
df = pl.read_parquet(path)
|
| 250 |
+
|
| 251 |
+
# Drop rows with incomplete data (ongoing / no-result matches)
|
| 252 |
+
df = df.filter(pl.col("team1_won").is_not_null())
|
| 253 |
+
|
| 254 |
+
X = df.drop(["match_id", "date", "team1_id", "team2_id", "team1_won"])
|
| 255 |
+
y = df["team1_won"].cast(pl.Int8)
|
| 256 |
+
print(f"Training samples: {len(X)}, Features: {X.width}")
|
| 257 |
+
```
|
| 258 |
+
|
| 259 |
+
```python
|
| 260 |
+
from sklearn.model_selection import train_test_split
|
| 261 |
+
from xgboost import XGBClassifier
|
| 262 |
+
from sklearn.metrics import brier_score_loss, roc_auc_score
|
| 263 |
+
|
| 264 |
+
X_train, X_test, y_train, y_test = train_test_split(
|
| 265 |
+
X.to_pandas(), y.to_pandas(),
|
| 266 |
+
test_size=0.2, shuffle=False # time-ordered split
|
| 267 |
+
)
|
| 268 |
+
|
| 269 |
+
model = XGBClassifier(
|
| 270 |
+
n_estimators=300,
|
| 271 |
+
max_depth=5,
|
| 272 |
+
learning_rate=0.05,
|
| 273 |
+
subsample=0.8,
|
| 274 |
+
colsample_bytree=0.8,
|
| 275 |
+
use_label_encoder=False,
|
| 276 |
+
eval_metric="logloss",
|
| 277 |
+
)
|
| 278 |
+
model.fit(X_train, y_train)
|
| 279 |
+
|
| 280 |
+
probs = model.predict_proba(X_test)[:, 1]
|
| 281 |
+
print(f"Brier score: {brier_score_loss(y_test, probs):.4f}") # target ≤ 0.21
|
| 282 |
+
print(f"AUC-ROC: {roc_auc_score(y_test, probs):.4f}") # target ≥ 0.67
|
| 283 |
+
```
|
| 284 |
+
|
| 285 |
+
```python
|
| 286 |
+
# Plot team Elo history
|
| 287 |
+
import polars as pl
|
| 288 |
+
import matplotlib.pyplot as plt
|
| 289 |
+
|
| 290 |
+
elo = pl.read_parquet("data/team_elo/team_elo_2024.parquet")
|
| 291 |
+
team = elo.filter((pl.col("team_name") == "NAVI") & (pl.col("map_name") == "all"))
|
| 292 |
+
|
| 293 |
+
plt.plot(team["date"].to_list(), team["elo_before"].to_list())
|
| 294 |
+
plt.title("NAVI Global Elo — 2024")
|
| 295 |
+
plt.xlabel("Date")
|
| 296 |
+
plt.ylabel("Elo")
|
| 297 |
+
plt.show()
|
| 298 |
+
```
|
| 299 |
+
|
| 300 |
+
---
|
| 301 |
+
|
| 302 |
+
## Methodology Notes
|
| 303 |
+
|
| 304 |
+
### Elo model
|
| 305 |
+
The Elo ratings in GoldLite are computed using a custom variant of the standard Elo formula:
|
| 306 |
+
|
| 307 |
+
- **K-factor**: Variable by tier (T1 = 32, T2 = 24, T3 = 20) and match format (bo5 weighted higher)
|
| 308 |
+
- **Map-specific Elo**: Separate rating maintained per CS2 map (de_mirage, de_dust2, etc.)
|
| 309 |
+
- **Initial Elo**: All teams start at 1500. Teams with fewer than 10 matches have higher uncertainty.
|
| 310 |
+
- **Update frequency**: Recomputed from all historical results on demand.
|
| 311 |
+
|
| 312 |
+
The full GoldLite Elo model is a **baseline** — it does not incorporate demo-derived features, player-level signals, or market information. It is calibrated to be reproducible and interpretable, not to maximize prediction accuracy.
|
| 313 |
+
|
| 314 |
+
CounterQuant's production model (internal, not released) additionally incorporates 509 features including economy statistics, KAST, utility efficiency, and market-implied probabilities.
|
| 315 |
+
|
| 316 |
+
### No data leakage guarantee
|
| 317 |
+
All features in `match_features_YYYY.parquet` are constructed from data available strictly **before** the match date. The `team1_won` column is the label — it is derived from the match result after the fact. There are no post-match statistics in the feature columns.
|
| 318 |
+
|
| 319 |
+
---
|
| 320 |
+
|
| 321 |
+
## Prediction Targets & Baselines
|
| 322 |
+
|
| 323 |
+
| Model | Target | GoldLite Baseline | Production Target |
|
| 324 |
+
|-------|--------|------------------|-------------------|
|
| 325 |
+
| Match outcome | team1_won (binary) | Brier ≤ 0.22 | Brier ≤ 0.21 |
|
| 326 |
+
| — | — | AUC-ROC ≥ 0.65 | AUC-ROC ≥ 0.67 |
|
| 327 |
+
| Map outcome | map winner (binary) | Brier ≤ 0.24 | TBD |
|
| 328 |
+
|
| 329 |
+
A random classifier scores Brier = 0.25. An Elo-only model should reach approximately 0.228. The GoldLite feature set adds form, H2H, and event context on top of Elo and should reach around 0.22.
|
| 330 |
+
|
| 331 |
+
---
|
| 332 |
+
|
| 333 |
+
## Related Datasets
|
| 334 |
+
|
| 335 |
+
| Dataset | Contents | Relationship |
|
| 336 |
+
|---------|----------|--------------|
|
| 337 |
+
| [CounterQuant CS2 Demos](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos) | Raw `.dem` files | Source layer |
|
| 338 |
+
| [CounterQuant CS2 Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze) | Tick-level events: kills, damages, flashes, utility | Compute demo-derived features to extend GoldLite |
|
| 339 |
+
| [CounterQuant CS2 Silver](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Silver) | Match results, map scores, player stats | GoldLite is derived from Silver — join on `match_id` |
|
| 340 |
+
| [CounterQuant Platform](https://counterquant.com) | Live analytics, predictions, API | Production system built on the full 509-feature pipeline |
|
| 341 |
+
| [CounterQuant API](https://counterquant.com/api/docs/) | REST API access | Access to live predictions and extended features |
|
| 342 |
+
|
| 343 |
+
---
|
| 344 |
+
|
| 345 |
+
## Data Release Policy
|
| 346 |
+
|
| 347 |
+
| Layer | Public? | Timeline |
|
| 348 |
+
|-------|---------|----------|
|
| 349 |
+
| **GoldLite 2024** (Elo + form + H2H + event) | ✅ CC BY 4.0 | Q3 2026 |
|
| 350 |
+
| **GoldLite 2012–2023** (backfill) | ✅ CC BY 4.0 | Q4 2026 |
|
| 351 |
+
| **GoldLite 2025** | ✅ CC BY 4.0 | 2027 (2-year delay) |
|
| 352 |
+
| Demo-derived features (eco, KAST, utility) | ❌ Private | CounterQuant API only |
|
| 353 |
+
| Full 509-feature vectors | ❌ Private | CounterQuant API only |
|
| 354 |
+
| Polymarket / market odds | ❌ Private | Never released |
|
| 355 |
+
| Model output probabilities | ❌ Private | CounterQuant API only |
|
| 356 |
+
|
| 357 |
+
---
|
| 358 |
+
|
| 359 |
+
## Citation
|
| 360 |
+
|
| 361 |
+
If you use this dataset in research, analytics products, or publications, please cite:
|
| 362 |
+
|
| 363 |
+
### BibTeX
|
| 364 |
+
|
| 365 |
+
```bibtex
|
| 366 |
+
@dataset{kulbe2026counterquantgoldlite,
|
| 367 |
+
author = {Eimantas Kulbe},
|
| 368 |
+
title = {CounterQuant CS2 GoldLite: ML-Ready Match Features for Professional CS2},
|
| 369 |
+
year = {2026},
|
| 370 |
+
publisher = {Hugging Face},
|
| 371 |
+
url = {https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-GoldLite},
|
| 372 |
+
note = {Pre-match Elo ratings, team form, head-to-head records, and event
|
| 373 |
+
context features for professional CS2 match outcome modelling.
|
| 374 |
+
Covers 2012--2024 (first release). 2-year delay for recent data.}
|
| 375 |
+
}
|
| 376 |
+
```
|
| 377 |
+
|
| 378 |
+
### APA
|
| 379 |
+
|
| 380 |
+
Kulbe, E. (2026). *CounterQuant CS2 GoldLite: ML-Ready Match Features for Professional CS2* [Dataset]. Hugging Face. https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-GoldLite
|
| 381 |
+
|
| 382 |
+
### Acknowledgement (for papers/articles)
|
| 383 |
+
|
| 384 |
+
> Pre-match features and Elo ratings sourced from *CounterQuant CS2 GoldLite* (Kulbe, 2026), available at https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-GoldLite under CC BY 4.0.
|
| 385 |
+
|
| 386 |
+
---
|
| 387 |
+
|
| 388 |
+
## License
|
| 389 |
+
|
| 390 |
+
**Creative Commons Attribution 4.0 International (CC BY 4.0)**
|
| 391 |
+
|
| 392 |
+
You are free to:
|
| 393 |
+
- **Share** — copy and redistribute the material in any medium or format
|
| 394 |
+
- **Adapt** — remix, transform, and build upon the material for any purpose, including commercial
|
| 395 |
+
|
| 396 |
+
Under the condition that you **give appropriate credit** to **Eimantas Kulbe** and link back to this dataset.
|
| 397 |
+
|
| 398 |
+
Full license text: https://creativecommons.org/licenses/by/4.0/
|
| 399 |
+
|
| 400 |
+
---
|
| 401 |
+
|
| 402 |
+
*Dataset maintained by [Eimantas Kulbe](https://counterquant.com). For questions, issues, or collaboration: open a discussion on this dataset page or reach out via [CounterQuant](https://counterquant.com).*
|