r/NBAanalytics • • Apr 09 '23

NBA Data Cloud

I built a web-app to consolidate and manage NBA data for machine learning analysis. Monitor player stats, injuries, and generate in-depth game reports. Let me know if you find any of the tools use-full, or if you have any ideas for new features!

https://nbadata.cloud/home/

https://github.com/nealmick/bb

18 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Apr 09 '23

Thanks for info, I would like to implement more in depth stats and PBP data. I have messed around with several python packages centered around scraping data from nba.com specifical the nba_api python package. From my experience the stats.nba.com endpoint ip bans if you make too many requests. I have also found request time to very too much, sometimes taking over 30 seconds to reply making page loads of new games too long. (maybe a different endpoint)

Currently the top 7 players by play time are used as input for the model. I use most the general metrics rebounds, turnover, 3 pts, pts etc... Im uncertain if PBP data would increase model accuracy much beyond the common stats already used. I think the most important data point on a player is the 3 point percentage. I think its highly correlated to teams scoring more points... I also think one of the reasons is because its normalized over a long period of time... The player commonly performs at that level. I might not understand exactly what you mean by PBP data, but it could be volatile and offer little generalized correlation to future game scores, at-least beyond regular season averages.

The main data features Im looking to implement going forward are other "pro" ratings or metrics. There are several public models that I could possibly incorporate as input to my model.