You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crystalball is a statistical method of predicting outcomes of NBA games. Accuracy has varied from 64% to 68% over the last couple of years that it has been operational. Feel free to predict NBA games using the simple script as outlined below.
Notes for the 2020-2021 Season:
No home or away dis/advantages due to no in-person attendance at games (COVID-19)
predict_game.py is the new and improved version of the game outcome predictor.
To run: python3 predict_game.py <home_year> <home_team_id> <away_year> <away_team_id>
For example: python3 predict_game.py 2021 MEM 2021 ATL
sim.py contains the primary methods for simulating games
utils.py contains methods for cleaning / parsing player data
Total Results
Total Games
Games Predicted Correctly
Accuracy
23
15
65.2%
Update: I stopped writing up the daily predictions in the readme, but let me know if that's something you want to see.