Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Max Bay's Public Baseball Stuff

Welcome to my public baseball repository! This contains a collection of code (in various forms) focused on things that interest me.

Apps

Dynamic Dead Zone

  • One of the first cues batters have as to the shape of an incoming pitch is the arm slot of the pitcher. This app models the "expected" shape of a fastball as distribution conditional on pitcher scaled release point.

Dynamic Dead Zone

Projects in Both Python and R, Separated by Programming Language

Python (Notebooks)

Here’s a list of the notebooks you’ll find in the /notebooks directory:

Infer 3D Spin Vector

Spin Components

Command Confidence Ellipse

  • Uses vertical and horizontal release angle variance of fastball as proxy for command. Turns out this is pretty sticky between seasons.

Command Confidence Ellipse

Dynamic Spin Efficiency

  • Spin efficiency changes over the flight of a pitch because the ball drops over time. This looks at a couple theoretical examples.

Dynamic Spin Efficiency

Fetch Player Height Data

  • Convenience functions for getting player height data via API endpoint
  • I also wrote this for use in R programming language link here

Release Angle to Plate

  • Small changes in release angle can have a massive effect on the quality of a pitch. The notebook has some visualizations demonstrating this.

Plate Angle

R

Infer 3D Spin Vector

Fetch Player Height Data

  • Convenience functions for getting player height data via API endpoint

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages