Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -4,138 +4,72 @@ task_categories:
|
|
4 |
- video-classification
|
5 |
size_categories:
|
6 |
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
# Dataset Card for Dataset Name
|
9 |
|
10 |
<!-- Provide a quick summary of the dataset. -->
|
11 |
|
12 |
-
|
13 |
|
14 |
## Dataset Details
|
15 |
|
16 |
### Dataset Description
|
17 |
|
18 |
<!-- Provide a longer summary of what this dataset is. -->
|
19 |
-
|
20 |
-
|
21 |
|
22 |
- **Curated by:** Henry Freed
|
23 |
- **License:** MIT
|
24 |
|
25 |
-
### Dataset Sources [optional]
|
26 |
-
|
27 |
-
<!-- Provide the basic links for the dataset. -->
|
28 |
-
|
29 |
-
- **Repository:** [More Information Needed]
|
30 |
-
- **Paper [optional]:** [More Information Needed]
|
31 |
-
- **Demo [optional]:** [More Information Needed]
|
32 |
-
|
33 |
## Uses
|
34 |
|
35 |
<!-- Address questions around how the dataset is intended to be used. -->
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
<!-- This section describes suitable use cases for the dataset. -->
|
40 |
-
|
41 |
-
[More Information Needed]
|
42 |
-
|
43 |
-
### Out-of-Scope Use
|
44 |
-
|
45 |
-
<!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
|
46 |
-
|
47 |
-
[More Information Needed]
|
48 |
|
49 |
## Dataset Structure
|
50 |
|
51 |
<!-- 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. -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
-
[More Information Needed]
|
54 |
|
55 |
-
## Dataset Creation
|
56 |
-
|
57 |
-
### Curation Rationale
|
58 |
-
|
59 |
-
<!-- Motivation for the creation of this dataset. -->
|
60 |
|
61 |
-
|
62 |
|
63 |
### Source Data
|
64 |
|
65 |
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
|
|
|
66 |
|
67 |
-
#### Data Collection and Processing
|
68 |
-
|
69 |
-
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
|
70 |
-
|
71 |
-
[More Information Needed]
|
72 |
|
73 |
#### Who are the source data producers?
|
74 |
|
75 |
<!-- 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. -->
|
76 |
|
77 |
-
[
|
78 |
-
|
79 |
-
### Annotations [optional]
|
80 |
-
|
81 |
-
<!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
|
82 |
-
|
83 |
-
#### Annotation process
|
84 |
-
|
85 |
-
<!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
86 |
-
|
87 |
-
[More Information Needed]
|
88 |
-
|
89 |
-
#### Who are the annotators?
|
90 |
|
91 |
-
<!-- This section describes the people or systems who created the annotations. -->
|
92 |
-
|
93 |
-
[More Information Needed]
|
94 |
-
|
95 |
-
#### Personal and Sensitive Information
|
96 |
-
|
97 |
-
<!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
|
98 |
-
|
99 |
-
[More Information Needed]
|
100 |
|
101 |
## Bias, Risks, and Limitations
|
102 |
|
103 |
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
### Recommendations
|
108 |
-
|
109 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
110 |
-
|
111 |
-
Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
|
112 |
-
|
113 |
-
## Citation [optional]
|
114 |
-
|
115 |
-
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
116 |
-
|
117 |
-
**BibTeX:**
|
118 |
-
|
119 |
-
[More Information Needed]
|
120 |
-
|
121 |
-
**APA:**
|
122 |
-
|
123 |
-
[More Information Needed]
|
124 |
-
|
125 |
-
## Glossary [optional]
|
126 |
-
|
127 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
|
128 |
-
|
129 |
-
[More Information Needed]
|
130 |
-
|
131 |
-
## More Information [optional]
|
132 |
-
|
133 |
-
[More Information Needed]
|
134 |
-
|
135 |
-
## Dataset Card Authors [optional]
|
136 |
-
|
137 |
-
[More Information Needed]
|
138 |
-
|
139 |
-
## Dataset Card Contact
|
140 |
-
|
141 |
-
[More Information Needed]
|
|
|
4 |
- video-classification
|
5 |
size_categories:
|
6 |
- 1M<n<10M
|
7 |
+
tags:
|
8 |
+
- baseball
|
9 |
+
- sports
|
10 |
+
- video-classification
|
11 |
+
- computer-vision
|
12 |
---
|
13 |
# Dataset Card for Dataset Name
|
14 |
|
15 |
<!-- Provide a quick summary of the dataset. -->
|
16 |
|
17 |
+
2.6 million clips of balls and called strikes from MLB games from the 2016 season through the 2023 season.
|
18 |
|
19 |
## Dataset Details
|
20 |
|
21 |
### Dataset Description
|
22 |
|
23 |
<!-- Provide a longer summary of what this dataset is. -->
|
24 |
+
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.
|
25 |
+
This dataset includes the date, type (eg. FF, fourseam fastball), mpt, spin rate, pitcher, batter, zone (1-14, corresponding to strike zone locations), count, inning, pitch result, and link to the video of the pitch.
|
26 |
|
27 |
- **Curated by:** Henry Freed
|
28 |
- **License:** MIT
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
## Uses
|
31 |
|
32 |
<!-- Address questions around how the dataset is intended to be used. -->
|
33 |
+
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.
|
34 |
+
With the additional metadata, one can imagine much more interesting classification and granular tasks like classifying pitch types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
## Dataset Structure
|
37 |
|
38 |
<!-- 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. -->
|
39 |
+
The dataset is three JSON files, split into train (80%), val (10%), and test (10%) files. They are structured as follows:
|
40 |
+
{
|
41 |
+
"date": "2017-05-06",
|
42 |
+
"pitch": "CU",
|
43 |
+
"mph": "73.6",
|
44 |
+
"spin_rate": "1997",
|
45 |
+
"pitcher": "Garza, Matt(R)",
|
46 |
+
"batter": "Jaso, John(L)",
|
47 |
+
"zone": "8",
|
48 |
+
"count": "0-1",
|
49 |
+
"inning": "Bot 5",
|
50 |
+
"pitch_result": "Called Strike",
|
51 |
+
"video_link": "https://baseballsavant.mlb.com/sporty-videos?playId=e790b6cf-7ac4-45b8-8cd3-9cef03d759cb"
|
52 |
+
}.
|
53 |
|
|
|
54 |
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
+
## Dataset Creation
|
57 |
|
58 |
### Source Data
|
59 |
|
60 |
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
|
61 |
+
The data were scraped from Baseball Savant's [Statcast Search](https://baseballsavant.mlb.com/statcast_search).
|
62 |
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
#### Who are the source data producers?
|
65 |
|
66 |
<!-- 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. -->
|
67 |
|
68 |
+
[Baseball Savant](https://baseballsavant.mlb.com) and MLB/the broadcasters (whoever it is) originally created the videos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
## Bias, Risks, and Limitations
|
72 |
|
73 |
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
74 |
+
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).
|
75 |
+
One should take care dealing with these imbalances.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|