Karmane commited on
Commit
3380423
·
verified ·
1 Parent(s): 1cf0741

Create/Update free sample dataset

Browse files
Files changed (3) hide show
  1. .gitattributes +8 -60
  2. README.md +260 -0
  3. data/data.parquet +3 -0
.gitattributes CHANGED
@@ -1,60 +1,8 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
- *.bin filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
- *.ftz filter=lfs diff=lfs merge=lfs -text
8
- *.gz filter=lfs diff=lfs merge=lfs -text
9
- *.h5 filter=lfs diff=lfs merge=lfs -text
10
- *.joblib filter=lfs diff=lfs merge=lfs -text
11
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
- *.model filter=lfs diff=lfs merge=lfs -text
16
- *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
- *.onnx filter=lfs diff=lfs merge=lfs -text
20
- *.ot filter=lfs diff=lfs merge=lfs -text
21
- *.parquet filter=lfs diff=lfs merge=lfs -text
22
- *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
- *.pt filter=lfs diff=lfs merge=lfs -text
26
- *.pth filter=lfs diff=lfs merge=lfs -text
27
- *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
- *.tar filter=lfs diff=lfs merge=lfs -text
32
- *.tflite filter=lfs diff=lfs merge=lfs -text
33
- *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
- *.xz filter=lfs diff=lfs merge=lfs -text
36
- *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
- *.jpg filter=lfs diff=lfs merge=lfs -text
56
- *.jpeg filter=lfs diff=lfs merge=lfs -text
57
- *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
59
- *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
1
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
2
+ *.csv filter=lfs diff=lfs merge=lfs -text
3
+ *.parquet filter=lfs diff=lfs merge=lfs -text
4
+ *.arrow filter=lfs diff=lfs merge=lfs -text
5
+ *.pkl filter=lfs diff=lfs merge=lfs -text
6
+ *.bin filter=lfs diff=lfs merge=lfs -text
7
+ *.pt filter=lfs diff=lfs merge=lfs -text
8
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-4.0
5
+ size_categories:
6
+ - n<1K
7
+ task_categories:
8
+ - tabular-regression
9
+ tags:
10
+ - mlb
11
+ - baseball
12
+ - pitcher-props
13
+ - strikeout-props
14
+ - sports
15
+ - sports-analytics
16
+ - sports-betting-research
17
+ - fantasy-baseball
18
+ - starting-pitchers
19
+ - player-game
20
+ - tabular
21
+ - parquet
22
+ pretty_name: "MLB Starting Pitcher Strikeout Prop Dataset for Historical K Research (Free Sample)"
23
+ configs:
24
+ - config_name: default
25
+ data_files:
26
+ - split: data
27
+ path: "data/data.parquet"
28
+ ---
29
+
30
+ # MLB Starting Pitcher Strikeout Prop Dataset for Historical K Research
31
+
32
+ # MLB Starting Pitcher Strikeout Prop Dataset for Historical K Research
33
+
34
+ **Question this dataset helps answer:**
35
+ Which MLB starting pitchers historically clear common strikeout-prop thresholds, and what pregame workload, rest, pitch-count, and opponent strikeout context existed before first pitch?
36
+
37
+ This dataset helps sports-betting researchers, fantasy baseball analysts, and dashboard builders compare, screen, and investigate MLB starting-pitcher strikeout history using rolling workload, pitch-count, rest, and opponent-team strikeout signals.
38
+
39
+ **Use the public sample to check:**
40
+ - Which starters, teams, venues, and seasons are represented in the preview
41
+ - Which columns are usable as pre-event workload or opponent-K features versus post-event outcomes
42
+ - Which rows already support 5+, 6+, 7+, and 8+ strikeout-threshold research
43
+
44
+ **Preview vs full dataset:**
45
+ - Preview: 840 rows and 110 columns
46
+ - Full: 16808 rows and 110 columns
47
+
48
+ **Full dataset access:** https://thearticulated.gumroad.com/l/mlb-starting-pitcher-strikeout-prop-trends
49
+
50
+ The full dataset includes 16808 rows across MLB starting-pitcher game observations, making it large enough for dashboard analysis, historical filtering, strikeout-prop research, and exploratory modeling workflows.
51
+
52
+ ## Responsible use note
53
+
54
+ This dataset is for research, analysis, dashboard building, educational use, and exploratory modeling. It does not provide betting advice, picks, guarantees, or predictions of future outcomes.
55
+
56
+ ## Modeling notes
57
+
58
+ - Each row represents one actual starting pitcher in one completed MLB regular-season game.
59
+ - Pre-event features include rolling strikeout form, pitch counts, rest timing, quality-start history, team offense context, and opponent-team strikeout environment.
60
+ - Outcomes include actual strikeouts, innings pitched, walks, hits allowed, earned runs, and threshold-hit flags for common strikeout-prop ladders.
61
+ - The coverage window runs from 2023-03-30 through 2026-06-18.
62
+ - The preview is meant to prove schema, coverage, row meaning, and pre-event versus post-event separation rather than replace the full dataset.
63
+
64
+
65
+ **This is a free preview.** Load it instantly, inspect the schema, and validate quality before purchasing the full dataset.
66
+
67
+ ---
68
+
69
+ ## What This Preview Proves
70
+
71
+ - **Sample rows:** 840 (full dataset: 16,808 rows)
72
+ - **Columns:** 110 fields, fully described below
73
+ - **Format:** parquet (loads in pandas, HF datasets, or any parquet reader)
74
+ - **No authentication required** to load this sample
75
+ - **Schema and quality** are identical to the paid full dataset
76
+
77
+ ---
78
+
79
+ ## Upgrade to Full Dataset
80
+
81
+ The full production dataset contains **16,808 rows** across **110 columns**.
82
+
83
+ **Full dataset access:** [https://thearticulated.gumroad.com/l/wadakh](https://thearticulated.gumroad.com/l/wadakh)
84
+
85
+ After purchase, provide your Hugging Face username and request access on the [full dataset page](https://huggingface.co/datasets/Karmane/mlb-starting-pitcher-strikeout-prop-trends).
86
+
87
+ ---
88
+
89
+ ## Quick Start
90
+
91
+ ```python
92
+ from datasets import load_dataset
93
+
94
+ dataset = load_dataset("Karmane/mlb-starting-pitcher-strikeout-prop-trends-sample")
95
+ df = dataset["data"].to_pandas()
96
+ print(f"Rows: {len(df):,}, Columns: {len(df.columns)}")
97
+ print(df.head())
98
+ ```
99
+
100
+ Or with pandas directly:
101
+
102
+ ```python
103
+ import pandas as pd
104
+ df = pd.read_parquet("hf://datasets/Karmane/mlb-starting-pitcher-strikeout-prop-trends-sample/data/data.parquet")
105
+ print(df.head())
106
+ ```
107
+
108
+ ---
109
+
110
+ ## Use Cases
111
+
112
+ - Compare which starters historically clear 5+, 6+, 7+, 8+, or 9+ strikeout thresholds.
113
+ - Screen starter rows by recent pitch counts, rest timing, opponent strikeout rates, or prior history against the same team.
114
+ - Build time-aware notebooks that keep pregame workload features separate from postgame outcomes.
115
+ - Filter by team, opponent, venue, or strikeout environment before building dashboards or exploratory models.
116
+
117
+ ---
118
+
119
+ ## Column Descriptions
120
+
121
+ - `record_id`: Stable row identifier built from the MLB game identifier and actual starting pitcher identifier.
122
+ - `game_pk`: Official MLB game identifier for the completed regular-season game.
123
+ - `season`: MLB season year for the game.
124
+ - `official_date`: Official game date in local calendar terms.
125
+ - `game_datetime_utc`: Scheduled first-pitch timestamp in UTC.
126
+ - `day_night`: MLB day or night game label.
127
+ - `doubleheader_flag`: Boolean flag indicating that the game was part of a doubleheader.
128
+ - `games_in_series`: Number of games scheduled in the series when provided by MLB.
129
+ - `series_game_number`: Game number inside the series when provided by MLB.
130
+ - `series_description`: MLB series label such as Regular Season or Interleague.
131
+ - `scheduled_innings`: Scheduled inning count for the game.
132
+ - `venue_id`: Official MLB venue identifier.
133
+ - `venue_name`: Venue name for the game.
134
+ - `venue_city`: Venue city.
135
+ - `venue_state`: Venue state or province abbreviation when provided by MLB.
136
+ - `venue_timezone`: Venue timezone identifier from the official schedule feed.
137
+ - `team_id`: Official MLB identifier for the starting pitcher's team.
138
+ - `team_abbreviation`: Team abbreviation for the starting pitcher's team.
139
+ - `team_name`: Full team name for the starting pitcher's team.
140
+ - `opponent_team_id`: Official MLB identifier for the opposing team.
141
+ - `opponent_team_abbreviation`: Team abbreviation for the opposing team.
142
+ - `opponent_team_name`: Full team name for the opposing team.
143
+ - `home_away`: Home or away context for the starting pitcher's team.
144
+ - `is_home`: Boolean flag indicating that the starting pitcher's team was at home.
145
+ - `starter_id`: Official MLB player identifier for the actual starting pitcher.
146
+ - `starter_name`: Full player name for the actual starting pitcher.
147
+ - `probable_starter_id`: Official MLB player identifier for the probable starter from the schedule feed.
148
+ - `probable_starter_name`: Name of the probable starter from the schedule feed.
149
+ - `starter_was_probable`: Boolean flag indicating whether the actual starter matched the listed probable starter.
150
+ - `outs_recorded`: Outs recorded by the starting pitcher in the completed game.
151
+ - `innings_pitched`: Innings pitched by the starting pitcher, normalized so one out equals one-third of an inning.
152
+ - `hits_allowed`: Hits allowed by the starting pitcher in the completed game.
153
+ - `runs_allowed`: Runs allowed by the starting pitcher in the completed game.
154
+ - `earned_runs_allowed`: Earned runs allowed by the starting pitcher in the completed game.
155
+ - `walks_allowed`: Walks allowed by the starting pitcher in the completed game.
156
+ - `strikeouts_recorded`: Strikeouts recorded by the starting pitcher in the completed game.
157
+ - `home_runs_allowed`: Home runs allowed by the starting pitcher in the completed game.
158
+ - `batters_faced`: Batters faced by the starting pitcher in the completed game.
159
+ - `pitches_thrown`: Pitches thrown by the starting pitcher in the completed game.
160
+ - `strikes_thrown`: Strikes thrown by the starting pitcher in the completed game.
161
+ - `balls_thrown`: Balls thrown by the starting pitcher in the completed game.
162
+ - `era_display`: MLB-reported ERA shown in the box score after the game.
163
+ - `whip_display`: MLB-reported WHIP shown in the box score after the game.
164
+ - `team_score`: Runs scored by the starting pitcher's team in the completed game.
165
+ - `opponent_score`: Runs scored by the opposing team in the completed game.
166
+ - `team_hits`: Hits recorded by the starting pitcher's team in the completed game.
167
+ - `opponent_hits`: Hits recorded by the opposing team in the completed game.
168
+ - `team_errors`: Errors recorded by the starting pitcher's team in the completed game.
169
+ - `opponent_errors`: Errors recorded by the opposing team in the completed game.
170
+ - `team_won`: Boolean flag indicating that the starting pitcher's team won the game.
171
+ - `strikeout_prop_over_4_5`: Boolean outcome flag for whether the starter recorded at least five strikeouts.
172
+ - `strikeout_prop_over_5_5`: Boolean outcome flag for whether the starter recorded at least six strikeouts.
173
+ - `strikeout_prop_over_6_5`: Boolean outcome flag for whether the starter recorded at least seven strikeouts.
174
+ - `strikeout_prop_over_7_5`: Boolean outcome flag for whether the starter recorded at least eight strikeouts.
175
+ - `strikeout_prop_over_8_5`: Boolean outcome flag for whether the starter recorded at least nine strikeouts.
176
+ - `quality_start_flag`: Boolean flag for the common quality-start definition of six or more innings with three or fewer earned runs.
177
+ - `strikeout_rate_game`: Strikeouts divided by batters faced in the completed game.
178
+ - `walk_rate_game`: Walks divided by batters faced in the completed game.
179
+ - `strikeouts_per_inning_game`: Strikeouts divided by innings pitched in the completed game.
180
+ - `starter_prior_starts`: Number of prior completed starts for the same pitcher before this game.
181
+ - `starter_days_since_prev_start`: Days since the pitcher's previous completed start.
182
+ - `starter_rolling_innings_last_3`: Pregame average innings pitched across the pitcher's previous three starts.
183
+ - `starter_rolling_strikeouts_last_3`: Pregame average strikeouts across the pitcher's previous three starts.
184
+ - `starter_rolling_strikeouts_last_5`: Pregame average strikeouts across the pitcher's previous five starts.
185
+ - `starter_rolling_walks_last_5`: Pregame average walks allowed across the pitcher's previous five starts.
186
+ - `starter_rolling_hits_allowed_last_5`: Pregame average hits allowed across the pitcher's previous five starts.
187
+ - `starter_rolling_earned_runs_last_5`: Pregame average earned runs allowed across the pitcher's previous five starts.
188
+ - `starter_rolling_home_runs_allowed_last_5`: Pregame average home runs allowed across the pitcher's previous five starts.
189
+ - `starter_rolling_batters_faced_last_3`: Pregame average batters faced across the pitcher's previous three starts.
190
+ - `starter_rolling_pitches_last_3`: Pregame average pitches thrown across the pitcher's previous three starts.
191
+ - `starter_rolling_k_rate_last_5`: Pregame strikeout rate across the pitcher's previous five starts.
192
+ - `starter_rolling_bb_rate_last_5`: Pregame walk rate across the pitcher's previous five starts.
193
+ - `starter_rolling_qs_rate_last_10`: Pregame share of the pitcher's previous ten starts that qualified as quality starts.
194
+ - `starter_season_to_date_innings_avg`: Pregame season-to-date average innings pitched for the starter.
195
+ - `starter_season_to_date_k_avg`: Pregame season-to-date average strikeouts for the starter.
196
+ - `starter_season_to_date_pitches_avg`: Pregame season-to-date average pitches thrown for the starter.
197
+ - `starter_season_to_date_k_rate`: Pregame season-to-date strikeout rate for the starter.
198
+ - `starter_season_to_date_qs_rate`: Pregame season-to-date quality-start rate for the starter.
199
+ - `starter_prior_starts_vs_opponent`: Number of prior completed starts by the same pitcher against the same opponent before this game.
200
+ - `starter_prior_k_avg_vs_opponent`: Pregame average strikeouts across the pitcher's prior starts against the same opponent.
201
+ - `starter_prior_k_rate_vs_opponent`: Pregame strikeout rate across the pitcher's prior starts against the same opponent.
202
+ - `team_prior_games`: Number of prior completed games for the starting pitcher's team before this game.
203
+ - `team_days_since_prev_game`: Days since the starting pitcher's team played its previous completed game.
204
+ - `team_rolling_runs_scored_last_5`: Pregame average runs scored by the starting pitcher's team across its previous five games.
205
+ - `team_rolling_hits_last_5`: Pregame average hits by the starting pitcher's team across its previous five games.
206
+ - `team_rolling_walks_drawn_last_5`: Pregame average walks drawn by the starting pitcher's team across its previous five games.
207
+ - `team_rolling_strikeouts_drawn_last_5`: Pregame average strikeouts taken by the starting pitcher's team across its previous five games.
208
+ - `team_rolling_plate_appearances_last_5`: Pregame average estimated plate appearances by the starting pitcher's team across its previous five games.
209
+ - `team_rolling_total_bases_last_5`: Pregame average total bases produced by the starting pitcher's team across its previous five games.
210
+ - `team_rolling_win_pct_last_5`: Pregame win percentage for the starting pitcher's team across its previous five games.
211
+ - `team_season_to_date_runs_scored_avg`: Pregame season-to-date average runs scored by the starting pitcher's team.
212
+ - `team_season_to_date_strikeouts_drawn_avg`: Pregame season-to-date average strikeouts taken by the starting pitcher's team.
213
+ - `team_season_to_date_walks_drawn_avg`: Pregame season-to-date average walks drawn by the starting pitcher's team.
214
+ - `team_season_to_date_k_rate`: Pregame season-to-date strikeout rate for the starting pitcher's team offense.
215
+ - `opponent_team_prior_games`: Number of prior completed games for the opposing team before this matchup.
216
+ - `opponent_team_days_since_prev_game`: Days since the opposing team played its previous completed game.
217
+ - `opponent_team_rolling_runs_scored_last_5`: Pregame average runs scored by the opposing team across its previous five games.
218
+ - `opponent_team_rolling_hits_last_5`: Pregame average hits by the opposing team across its previous five games.
219
+ - `opponent_team_rolling_walks_drawn_last_5`: Pregame average walks drawn by the opposing team across its previous five games.
220
+ - `opponent_team_rolling_strikeouts_drawn_last_5`: Pregame average strikeouts taken by the opposing team across its previous five games.
221
+ - `opponent_team_rolling_plate_appearances_last_5`: Pregame average estimated plate appearances by the opposing team across its previous five games.
222
+ - `opponent_team_rolling_total_bases_last_5`: Pregame average total bases produced by the opposing team across its previous five games.
223
+ - `opponent_team_rolling_win_pct_last_5`: Pregame win percentage for the opposing team across its previous five games.
224
+ - `opponent_team_season_to_date_runs_scored_avg`: Pregame season-to-date average runs scored by the opposing team.
225
+ - `opponent_team_season_to_date_strikeouts_drawn_avg`: Pregame season-to-date average strikeouts taken by the opposing team.
226
+ - `opponent_team_season_to_date_walks_drawn_avg`: Pregame season-to-date average walks drawn by the opposing team.
227
+ - `opponent_team_season_to_date_k_rate`: Pregame season-to-date strikeout rate for the opposing team offense.
228
+ - `source_url`: Official MLB boxscore endpoint URL for the game.
229
+ - `source_domain`: Source domain list used to build the row.
230
+ - `last_collected_at`: UTC timestamp when the current dataset build finished.
231
+
232
+ ---
233
+
234
+ ## Dataset Structure
235
+
236
+ - **Rows:** 840
237
+ - **Columns:** 110
238
+ - **Split:** `data`
239
+ - **File:** `data/data.parquet`
240
+
241
+ ---
242
+
243
+ ## Full Dataset Access
244
+
245
+ | | Sample (this repo) | Full Dataset |
246
+ |---|---|---|
247
+ | Rows | 840 | 16,808 |
248
+ | Columns | 110 | 110 |
249
+ | Auth required | No | Yes (after purchase) |
250
+ | Price | Free | [See pricing](https://thearticulated.gumroad.com/l/wadakh) |
251
+
252
+
253
+
254
+ ## Final CTA
255
+
256
+ **Get the full dataset:** [https://thearticulated.gumroad.com/l/wadakh](https://thearticulated.gumroad.com/l/wadakh)
257
+
258
+ ---
259
+
260
+ Karmane. (2025). _MLB Starting Pitcher Strikeout Prop Dataset for Historical K Research (Free Sample)_. Hugging Face. [https://huggingface.co/datasets/Karmane/mlb-starting-pitcher-strikeout-prop-trends-sample](https://huggingface.co/datasets/Karmane/mlb-starting-pitcher-strikeout-prop-trends-sample)
data/data.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d1870bafbedee466d134a40a8914fc4ec72c706b52e758da1374064bb132ce8
3
+ size 287088