GitHub | Kaggle | LinkedIn
Author: Declan Costello
Table of Contents
Welcome to my analysis of the 2024 MLB Season, the primary objective of this project is to:
Provide value to the baseball community!
I hope to contribute meaningful insights to the baseball community through this project. I encourage you to check out the js visuals on NBViewer!
This repo is organized as follows:
📂 TOUR-Championship-Strokes-Gained-Analysis 📍
│
├── README.md
├── requirements.txt
│
├── EDA.ipynb
├── FeatureEngineering.ipynb
└── Drag.ipynb
The requirements.txt
text file in the root folder has the exact Python environment I used for this project.
- One can try install Python packages I used with the following command:
pip install -r requirements.txt
Here I explore pybaseball's 2024 data to observe relationships of BBIP.
- Along with Pull% and Launch Angle, it was interesting to see how speed off the bat relative to pitch speed can further seperate a batter from the field.
Inspired by "Simplified Models for the Drag Coefficient of a Pitched Baseball" by David Kagan & Alan M. Nathan, this notebook observes how tempurature, humidity, and air pressure affect the drag coefficient of a moving baseball.
- With MLB now mandating humidors to standardize ball quality, Dr. Nathan's research made me wonder whether the league might one day adjust seam height by stadium altitude as another way to level the playing field.
- TODO
- Pitch sequencing
- Spray by pitch location
- Fastball take approach by x axis