Datasets:
File size: 3,594 Bytes
94b567f ea93d0d 98f3022 94b567f ea93d0d 98f3022 ea93d0d 98f3022 c9d5c4c ea93d0d 98f3022 ea93d0d 98f3022 c507957 c9f3b1c 1488571 c9f3b1c ea93d0d c507957 98f3022 ea93d0d 98f3022 ea93d0d 98f3022 ea93d0d 98f3022 e7e2944 d249411 f60f3d0 |
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 |
---
license: mit
task_categories:
- video-classification
size_categories:
- 1M<n<10M
tags:
- baseball
- sports
- video-classification
- computer-vision
---
# Dataset Card for Dataset Name
<!-- Provide a quick summary of the dataset. -->
2.6 million clips of balls and called strikes from MLB games from the 2016 season through the 2023 season.
## Dataset Details
### Dataset Description
<!-- Provide a longer summary of what this dataset is. -->
The dataset consists of all listed balls and called strikes from Baseball Savant's [Statcast Search](https://baseballsavant.mlb.com/statcast_search) from 2016, when their video archives began, through the 2023 season.
This dataset includes the date, type (eg. FF, fourseam fastball), mph, spin rate, pitcher, batter, zone (1-14, corresponding to strike zone locations), count, inning, pitch result, and link to the video of the pitch.
- **Curated by:** Henry Freed
- **License:** MIT
## Uses
<!-- Address questions around how the dataset is intended to be used. -->
The original dataset, [Picklebot-50K](https://huggingface.co/datasets/hbfreed/Picklebot-50K), was collected to call balls and strikes using a neural network, and is only labeled with ball or strike.
With the additional metadata, one can imagine much more interesting classification and granular tasks like classifying pitch types.
## Dataset Structure
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
The dataset is three JSON files, split into train (80%), val (10%), and test (10%) files. They are structured as follows:
{
"date": "2017-05-06",
"pitch": "CU",
"mph": "73.6",
"spin_rate": "1997",
"pitcher": "Garza, Matt(R)",
"batter": "Jaso, John(L)",
"zone": "8",
"count": "0-1",
"inning": "Bot 5",
"pitch_result": "Called Strike",
"video_link": "https://baseballsavant.mlb.com/sporty-videos?playId=e790b6cf-7ac4-45b8-8cd3-9cef03d759cb"
}.
## Dataset Creation
### Source Data
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
The data were scraped from Baseball Savant's [Statcast Search](https://baseballsavant.mlb.com/statcast_search).
#### Who are the source data producers?
<!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
[Baseball Savant](https://baseballsavant.mlb.com) and MLB/the broadcasters (whoever it is) originally created the videos.
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
First, as with Picklebot-50K, only balls and called strikes were connected. Additionally, this dataset is quite unbalanced: about two-thirds of the pitches are balls, and almost half of them are fourseam fastballs (see the plots below).
One should take care dealing with these imbalances.
## Plots
| Pitch Results Distribution | Pitch Types Distribution | Pitch Zones Distribution |
| ----------------------------------- | ----------------------------------- | ------------------------------------------- |
| ![pitch results](plots/pitch_results.png) | ![pitch types](plots/pitch_types.png) | ![pitch zones](plots/pitch_zones.png) |
|