Basic pipeline created to ingest data as subset out of pitchFX in R, producing odds ratios for independent "one hot" categorical variables like zone, pitch type, batter stance, pitcher handedness, inning side, and count type, e.g., ahead, behind, or even.
.py file and .ipynb format included.
Basic pipeline created to ingest data as subset out of pitchFX in R, producing odds ratios for independent "one hot" categorical variables like zone, pitch type, batter stance, pitcher handedness, inning side, and count type, e.g., ahead, behind, or even.