Skip to content
Submission for 2017 TruMedia Hackathon
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
docs
leaderboards
tests
.gitignore
2017 TruMedia Submission.pdf
README.md
batters.py
heatmap.py
processing.py
run_console.py
run_expectancy.py
season.py

README.md

#An iterative model for quantifying batter “approach”

2017 TruMedia Baseball Hackathon Submission

S. Brian Huey

sbhuey@gmail.com

###Requirements:

  • Python 2.7
  • Pandas, Numpy, IPython (or similar REPL)
  • 2015 and 2016 TruMedia Datasets

###Usage:

  • Place the 2015 and 2016 TruMedia datasets in /data
  • To reproduce the model, run processing.py in Python 2.7.
  • To analyze the data produced by the model, run run_console.py within a console like IPython.
  • The batters object will be generated which has a number of methods to transform the data
  • batters.df will produce the full pandas DataFrame
  • All data within /leaderboards should be reproduceable from the batters object.
You can’t perform that action at this time.