File size: 12,411 Bytes
e619df4 ba371d5 e619df4 ba371d5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 |
---
dataset_info:
features:
- name: game_id
dtype: string
- name: receiver_player_id
dtype: string
- name: receiver_player_name
dtype: string
- name: passer_player_id
dtype: string
- name: defteam
dtype: int64
- name: targets
dtype: float64
- name: receptions
dtype: float64
- name: receiving_yards
dtype: float64
- name: air_yards
dtype: float64
- name: yac
dtype: float64
- name: tds
dtype: float64
- name: epa
dtype: float64
- name: wpa
dtype: float64
- name: avg_depth
dtype: float64
- name: catch_rate
dtype: float64
- name: posteam
dtype: int64
- name: team_pass_attempts
dtype: float64
- name: team_air_yards
dtype: float64
- name: team_epa
dtype: float64
- name: air_yard_share
dtype: float64
- name: target_share
dtype: float64
- name: yards_per_target
dtype: float64
- name: def_targets_dev
dtype: float64
- name: def_receptions_dev
dtype: float64
- name: def_yards_dev
dtype: float64
- name: def_tds_dev
dtype: float64
- name: def_epa_dev
dtype: float64
- name: red_zone_targets
dtype: int64
- name: end_zone_targets
dtype: int64
- name: third_down_targets
dtype: int64
- name: fourth_down_targets
dtype: int64
- name: high_leverage_targets
dtype: int64
- name: qb_completions
dtype: float64
- name: qb_attempts
dtype: float64
- name: qb_air_yards
dtype: float64
- name: qb_cpoe
dtype: float64
- name: qb_comp_pct
dtype: float64
- name: avg_score_diff
dtype: float64
- name: avg_quarter
dtype: float64
- name: adot
dtype: float64
- name: yac_per_reception
dtype: float64
- name: td_rate
dtype: float64
- name: explosive_plays
dtype: float64
- name: first_downs
dtype: float64
- name: trailing_pct
dtype: float64
- name: leading_pct
dtype: float64
- name: wp_var
dtype: float64
- name: target_share_std
dtype: float64
- name: surface
dtype: int64
- name: is_dome
dtype: int64
- name: is_rain
dtype: int64
- name: is_snow
dtype: int64
- name: is_clear
dtype: int64
- name: temp_f
dtype: float64
- name: humidity_pct
dtype: float64
- name: wind_mph
dtype: float64
- name: success_rate
dtype: float64
- name: big_play_rate
dtype: float64
- name: reception_std
dtype: float64
- name: second_and_long_targets
dtype: float64
- name: third_and_medium_targets
dtype: float64
- name: avg_start_yardline
dtype: float64
- name: avg_target_depth_vs_qb
dtype: float64
- name: yards_Q1
dtype: float64
- name: yards_Q2
dtype: float64
- name: yards_Q3
dtype: float64
- name: yards_Q4
dtype: float64
- name: receptions_Q1
dtype: float64
- name: receptions_Q2
dtype: float64
- name: receptions_Q3
dtype: float64
- name: receptions_Q4
dtype: float64
- name: targets_Q1
dtype: float64
- name: targets_Q2
dtype: float64
- name: targets_Q3
dtype: float64
- name: targets_Q4
dtype: float64
- name: lost_yards_due_to_penalty
dtype: float64
- name: yards_wp_<25
dtype: float64
- name: yards_wp_25_45
dtype: float64
- name: yards_wp_45_55
dtype: float64
- name: yards_wp_55_75
dtype: float64
- name: yards_wp_>75
dtype: float64
- name: yards_wp_NA
dtype: int64
- name: receptions_wp_<25
dtype: float64
- name: receptions_wp_25_45
dtype: float64
- name: receptions_wp_45_55
dtype: float64
- name: receptions_wp_55_75
dtype: float64
- name: receptions_wp_>75
dtype: float64
- name: receptions_wp_NA
dtype: int64
- name: targets_wp_<25
dtype: int64
- name: targets_wp_25_45
dtype: int64
- name: targets_wp_45_55
dtype: int64
- name: targets_wp_55_75
dtype: int64
- name: targets_wp_>75
dtype: int64
- name: targets_wp_NA
dtype: int64
- name: home_team
dtype: int64
- name: away_team
dtype: int64
- name: pregame_spread
dtype: float64
- name: pregame_total
dtype: float64
splits:
- name: full
num_bytes: 3743489
num_examples: 4616
download_size: 690936
dataset_size: 3743489
configs:
- config_name: default
data_files:
- split: full
path: data/full-*
license: mit
language:
- en
---
# NFL Wide Receiver Performance Dataset (2021)
## Dataset Description
This dataset contains comprehensive wide receiver performance statistics derived from NFL play-by-play data for the **2021**. It includes game-level metrics, situational targeting patterns, defensive adjustments, and advanced efficiency calculations.
### Dataset Summary
- **Season**: 2021
- **Records**: ~4.31k player-game observations
- **Features**: 100+ columns including:
- Core statistics (targets, receptions, yards, touchdowns)
- Quarter-by-quarter breakdowns
- Win probability bucketed performance
- Defensive strength adjustments
- Situational metrics (red zone, high leverage, down-and-distance)
- Team share metrics (target share, air yards share, WOPR)
- Efficiency metrics (aDOT, yards per target, catch rate)
- Weather and venue conditions
### Supported Tasks
- **Receiving Yards Prediction**: Predict receiving yards for upcoming games
- **Target Share Analysis**: Model player opportunity distribution
- **Performance Forecasting**: Project future player performance
- **Matchup Analysis**: Evaluate player-defense matchups
## Dataset Structure
### Data Fields
**Key Identifiers:**
- `game_id`: Unique game identifier
- `receiver_player_id`: NFL GSIS player ID
- `receiver_player_name`: Player display name
- `passer_player_id`: Quarterback player ID
- `season`: NFL season year
- `week`: Week number
**Core Statistics:**
- `targets`: Total pass attempts targeting the receiver
- `receptions`: Completed receptions
- `receiving_yards`: Total receiving yards
- `tds`: Receiving touchdowns
- `air_yards`: Total air yards on targets
- `yac`: Yards after catch
**Quarter Breakdowns:**
- `yards_Q1`, `yards_Q2`, `yards_Q3`, `yards_Q4`: Yards by quarter
- `receptions_Q1-4`: Receptions by quarter
- `targets_Q1-4`: Targets by quarter
**Win Probability Buckets:**
- `yards_wp_<25`, `yards_wp_25_45`, etc.: Performance in different game situations
- Similar breakdowns for receptions and targets
**Share Metrics:**
- `target_share`: Player's share of team targets
- `air_yards_share`: Player's share of team air yards
- `yard_share`: Player's share of team receiving yards
- `reception_share`: Player's share of team receptions
- `wopr`: Weighted Opportunity Rating (0.7 × target_share + 0.3 × air_yards_share)
**Efficiency Metrics:**
- `aDOT`: Average depth of target
- `yards_per_target`: Receiving yards per target
- `catch_rate`: Reception percentage
- `yac_per_rec`: Yards after catch per reception
- `explosive_rec_pct`: Percentage of receptions ≥15 yards
- `first_down_pct`: Percentage of receptions resulting in first downs
**Defensive Adjustments:**
- `def_targets_dev`: Defense targets allowed vs league average
- `def_receptions_dev`: Defense receptions allowed vs league average
- `def_yards_dev`: Defense yards allowed vs league average
- `def_tds_dev`: Defense TDs allowed vs league average
- `def_epa_dev`: Defense EPA allowed vs league average
- `adj_epa`: Defense-adjusted Expected Points Added
- `adj_epa_per_target`: Defense-adjusted EPA per target
**Situational Metrics:**
- `red_zone_targets`: Targets inside the 20-yard line
- `end_zone_targets`: Targets in the end zone
- `third_down_targets`: Targets on 3rd down
- `fourth_down_targets`: Targets on 4th down
- `high_leverage_targets`: Targets in high-leverage situations (WP < 0.25 or > 0.75)
- `red_zone_share`: Player's share of team red zone targets
- `third_down_share`: Player's share of team 3rd down targets
**Game Context:**
- `posteam`: Player's team (encoded 1-32)
- `defteam`: Opposing defense (encoded 1-32)
- `home_team`: Home team (encoded 1-32)
- `away_team`: Away team (encoded 1-32)
- `home_flag`: 0 if home, 1 if away
- `pregame_spread`: Betting line point spread
- `pregame_total`: Betting line total points
- `avg_score_diff`: Average score differential when targeted
- `avg_quarter`: Average quarter when targeted
- `trailing_pct`: Percentage of targets while trailing
- `leading_pct`: Percentage of targets while leading
**Weather & Venue:**
- `surface`: Playing surface type (encoded 0-6)
- `is_dome`: 1 if indoor, 0 if outdoor
- `is_rain`: 1 if rainy conditions
- `is_snow`: 1 if snowy conditions
- `is_clear`: 1 if clear conditions
- `temp_f`: Temperature in Fahrenheit
- `humidity_pct`: Humidity percentage
- `wind_mph`: Wind speed in miles per hour
**QB Context:**
- `qb_completions`: Quarterback's completions that game
- `qb_attempts`: Quarterback's attempts that game
- `qb_comp_pct`: Quarterback's completion percentage
- `qb_air_yards`: Quarterback's average air yards
- `qb_cpoe`: Quarterback's completion percentage over expected
**Advanced Metrics:**
- `epa`: Expected Points Added
- `wpa`: Win Probability Added
- `success_rate`: Percentage of successful plays (EPA > 0 or YPT > 0.5)
- `big_play_rate`: Percentage of plays ≥20 yards
- `explosive_plays`: Count of plays ≥20 yards
- `first_downs`: First downs generated
- `consistency_score`: mean_adj_epa / std_adj_epa
- `inverse_volatility`: 1 / std_adj_epa
- `season_adj_epa_per_target`: Season-level defense-adjusted EPA per target
- `wp_var`: Variance in win probability across targets
- `target_share_std`: Standard deviation of target share across games
### Data Splits
This dataset does not include pre-defined splits. Users should create their own train/validation/test splits based on their use case:
- **Time-based split**: Use early weeks for training, later weeks for validation/testing
- **Cross-validation**: K-fold cross-validation across games
- **Season holdout**: Train on this season, test on future seasons
### Dataset Creation
#### Source Data
Raw play-by-play data sourced from [nflverse](https://github.com/nflverse/nflverse-data/releases/tag/pbp), which aggregates official NFL data with additional features.
#### Data Processing
The dataset was created through two complementary processing pipelines:
1. **Pipeline A (Defensive Adjustments)**:
- Calculates defense-adjusted performance metrics
- Adds situational targeting patterns
- Includes QB context and team-level statistics
- Incorporates weather and venue conditions
2. **Pipeline B (Temporal & Situational)**:
- Generates quarter-by-quarter breakdowns
- Creates win probability bucketed statistics
- Computes team share metrics and WOPR
- Calculates season-level consistency metrics
Both pipelines were merged to create a comprehensive feature set.
## Considerations for Using the Data
### Social Impact
This dataset is intended for:
- Sports analytics and research
- Fantasy football decision-making
- Educational purposes in machine learning and sports statistics
**Not intended for:**
- Real-money gambling (use responsibly)
- Player evaluation for contract negotiations
- Any decision-making that could impact player careers
### Discussion of Biases
- **Opportunity bias**: Statistics heavily dependent on team offensive scheme and QB quality
- **Injury data**: Dataset does not account for injuries that may affect performance
- **Sample size**: Players with limited playing time have less reliable statistics
- **Game script**: Performance metrics influenced by whether team is winning/losing
- **Strength of schedule**: Not all defensive matchups are equal, though some adjustment is included
### Limitations
- **Historical data only**: Does not predict future performance definitively
- **Missing context**: Does not include play design, route running, or other qualitative factors
- **Weather parsing**: Temperature/wind/humidity may be missing or inaccurate for some games
- **Roster changes**: Does not account for mid-season team changes or trades
- **Playoff games**: May or may not include playoff data depending on the year
## Additional Information
### Acknowledgments
- **Data Source**: [nflverse/nflverse-data](https://github.com/nflverse/nflverse-data/releases/tag/pbp)
- **AI Assistance**: Code development assisted by Claude (Anthropic)
- **Course**: CMU 24-679: Designing and Deploying AI/ML Systems |