Using network embedding techniques, we aim to provide methodology to predict the performance of different lineups.
-
Extract the lineup data from link here
-
Add the path to the data you extracted to the
lineup/data/constant.py
file.
import os
if os.environ['HOME'] == '/home/neil':
data_dir = '/home/neil/projects/lineup-performance/lineup'
# insert data path as branch of if statement
else:
raise Exception("Unspecified data_dir, unknown environment")
- Install the packages required from the repo dir.
python setup.py build
python setup.py install
- In the
lineup/data/nba
config, execute these scripts.
python get_on_court.py
python get_lineups.py
python get_matchups.py
python get_abilities.py