Skip to content

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

Notifications You must be signed in to change notification settings

andrewlee348/nba-predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages