alvinthai / MLB_pitch_type_predictor

Multi-classification predictions and explanations for MLB play-by-play data

Home Page:https://alvinthai.github.io/MLB_pitch_type_predictor/readme.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MLB Pitch Type Predictor

Click on this link for an interactive readme of the project.


Installation

  1. Create a new Python 2.7 virtual environment for the project
conda create -n mlb python=2.7
  1. Activate virtual enviornment
conda activate mlb
  1. Clone repo and install required dependencies
pip install -r requirements.txt
  1. Install jupyter kernel for virtual environment and move kernel files
pip install jupyter
python -m ipykernel install --name mlb --display-name "Python 2 (mlb)"
mv /usr/local/share/jupyter/kernels/mlb ~/Library/Jupyter/kernels/
  1. Use Python 2 (mlb) kernel in jupyter notebook when importing files from this repo

About

Multi-classification predictions and explanations for MLB play-by-play data

https://alvinthai.github.io/MLB_pitch_type_predictor/readme.html


Languages

Language:Jupyter Notebook 80.6%Language:HTML 18.1%Language:Python 1.3%