Skip to content

Here, I hope to provide value to the baseball community by exploring Drag and BBIP data from this past MLB season

Notifications You must be signed in to change notification settings

dec1costello/MLB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub | Kaggle | LinkedIn
Author: Declan Costello
Colab
Binder

MLB Analysis

Table of Contents
  1. Objectives
  2. Repo Structure
  3. Dependencies
  4. EDA
  5. Feature Engineering
  6. Drag Coefficient
  7. Future Roadmap

Objectives

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!

Repo Structure

This repo is organized as follows:

📂 TOUR-Championship-Strokes-Gained-Analysis 📍
│
├── README.md 
├── requirements.txt
│
├── EDA.ipynb
├── FeatureEngineering.ipynb
└── Drag.ipynb

Dependencies

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

EDA & Feature Engineering

Here I explore pybaseball's 2024 data to observe relationships of BBIP.

Key Insights

  • 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.

Drag Coefficient

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.

Key Insights

  • 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.

Future Roadmap

  • TODO

(back to top)

About

Here, I hope to provide value to the baseball community by exploring Drag and BBIP data from this past MLB season

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published