BrevinS / brebapp

Active ML Passion Project
MIT License
2 stars 0 forks source link

Set up for the statistics #184

Open BrevinS opened 1 year ago

BrevinS commented 1 year ago

The /prop/ route has access to; name team opp draftkings_pts draftkings_reb draftkings_ast draftkings_threes 4 P.Beverley CHI LAL 1.5 2.5 1.5 0.5

It would need access to an updated clock on the game which should have function in scrape.py possibly that can quickly look up the game_id again and immediately return the remaining time. While doing so it might as well return the updated player stats. The time of those can be determined later.

Once the route gains access to the remaining clock and the updated player stats the statistics and probabilities can be determined and displayed in a new html page. Already achieved stats should display 100% since the stat is already achieved. Otherwise some undetermined statistical approach will be needed to determine the percent chance the player has to complete a given prop.