Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 894 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 894 Bytes

nba-predictor

NBA game outcome predictor using points spread and points differential between two teams on a given night

Models taken from: Predicting Outcomes Of NBA Basketball Games by Eric Scot Jones

This project was designed with periodic flushes in mind. Ideally, both gathering of statistics and prediction operations would run every 24 hours, or some other optimal period of time.

Installation

In the root directory:

pip install -r requirements.txt

In teams directory, run:

python team_pred_stats.py

Then, in predictions directory, run:

python make_pred.py

To run the API server:

python -m uvicorn main:app --reload

You should now be able to access the API and its docs from http://localhost:8000/docs