This is the repo for the blog post here: Pitch Prediction with Keras
Requires: Python 3.6+; statsapi
; keras 1.15.0
- Run
python ./download_games.py
to get the data from MLB. - Run
python ./pitch_predictor.py
to run the model. - If it works, you can set
TESTING_FLAG = False
in./pitch_predictor.py
and run it at full strength.