Skip to content

A machine learning repo for classifying MLB pitches efficiently and accurately.

Notifications You must be signed in to change notification settings

zpotthoff/MLB-Pitch-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLB Pitch Classification

A machine learning repository for efficiently and accurately classifying MLB pitch types given pitch data.

Table of Contents

Introduction

This project was first created as a final project with Alex Rimerman for an undergrad Machine Learning course at Swarthmore College. Now, it is maintained as time allows out of interest in the subject. The inspiration for the original project came from the use of technology in modern baseball. Specifically, on the scoreboard at any professional baseball game, the pitch type is displayed immediately after the pitch is thrown, far too quick for human entry. So, we wanted to replicate this process as best as we could (at least for what time allows in a 5 week final project) by implementing machine learning models to predict pitch type based on pitch metrics. Currently, the best model works with better than 90% accuracy and runtime on the order of milliseconds.

Project Structure

Installation

Usage

Data

Data can be scraped using pybaseball. Will include more instructions for how to in the future.

Experiments

Results

Contributing

If you have any thoughts or ideas, please feel free to submit an Issue or a PR. I'm always looking to improve the project and meet new developers.

License

Acknowledgements

Thank you to Professor Ben Mitchell at Swarthmore College for his guidance and expertise in the project.

About

A machine learning repo for classifying MLB pitches efficiently and accurately.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published