Replies: 47 comments 37 replies
-
Some feature Ideas: |
Beta Was this translation helpful? Give feedback.
-
I also think it would be really great to eventually get historical spread data setup and start predicting error in spread. |
Beta Was this translation helpful? Give feedback.
-
Today i got new data working both with historical and future games from nba_api python package. The main new data input features are games played, games won, and games lost on a daily level(per season). I will update repo either tonight or tomorrow depending on things. I want to add point spread as input feature getting us one step closer to spread error predictions. This is really great though we have a new data source! |
Beta Was this translation helpful? Give feedback.
-
Okay gona be tomorow before update. I think im going to lower playersPerTeam from 9 to 7. I wanted to write down this feature idea before i forget: |
Beta Was this translation helpful? Give feedback.
-
It would be great to have a feature that would mark players as injured. Making the players name in edit stats clickable to mark player as injured and get next best player. I think this would be difficult to implement. I guess i could make a url edit/remove// then basically add that player to a blacklist and re run best players. This seems difficult. if i do make this feature it probably wont be soon. |
Beta Was this translation helpful? Give feedback.
-
Noticed a few players on miss matched teams. or atleast will be when trades go through. 2023 NBA trade deadline buzz: Feb. 9. Kyrie Irving is officially leaving the Brooklyn Nets to join the Dallas Mavericks. |
Beta Was this translation helpful? Give feedback.
-
Research xgboost maybe could be useful |
Beta Was this translation helpful? Give feedback.
-
The api for todays games is not updating properly, the api endpoints probably changed. Hopefully it will be fixed soon. If not i will submit issue on the repo. They have been good about getting things updated in the past. Here is example api url without updated scores. |
Beta Was this translation helpful? Give feedback.
-
Messing around training the model. Im finding that if you overfit the model really bad (over train, way too many epochs). Then it produces better expected value. Ive got up to 55%. This isnt really a good solution though as the model isnt working as it should and produces extreme results too often like teams winning by 100+ points. I want to try and and get win/loss streak features soon. |
Beta Was this translation helpful? Give feedback.
-
Talked to the owner of the games won/loss api we are using. Cool guy, think he is gona add streaks as-well, which would be amazing. still would have to find source for historical data streaks, or add them up using game dates. I know before I didnt want to add them up, but thats for future games. If an api keeps the current count, I have no problem adding up historical data because it will only need to be done once, not every-time you need the current count. This would be cool. I also want to work on accounting for mid season trades, and injured players. I think this can be done by using the players actual playtime to determine if they played....then if they played use there season averages as usual like average min. |
Beta Was this translation helpful? Give feedback.
-
Added win/loss streak to web app. Need to work on creating historical streaks with dataset so we can start using streaks as an input feature. Also looking into injuries today. |
Beta Was this translation helpful? Give feedback.
-
Any one have ideas on how the win/loss/streaks should be displayed? if i put dashes or slashes it looks like a date, and is kinda confusing if i put : in-between then it looks like a time. like 10/10/2 or 10:10:2 or 10-10-2 they look like date times. Now there is just space in-between but i dont think its very clear.... any ideas? |
Beta Was this translation helpful? Give feedback.
-
Okay next up is more stats on graphs. also making a search player function to add and remove players from games. also going to at-least make little alert that detects if players are injured, gona be difficult to automatically match the right player and remove them so at first this will probably have to be done manually. also i wanted to experiment see what expected value would look like if we only count predictions with margins greater then like 1 point. |
Beta Was this translation helpful? Give feedback.
-
Just realized that both team rosters and season averages can be updated at the same time. going to implement this soon make it easy to update saved stats and rosters. |
Beta Was this translation helpful? Give feedback.
-
Okay i added a bunch of stuff today. I havent pushed any the bigger changes yet but will try to update tonight (probably tomorrow). The updates already live include keeping scroll position for games, ive been trying to fix that for a while but it always caused other problems, this fix isnt perfect it kinda flickers wrong scroll position on first load, then updates. so i added a nice opacity transition on page load. kinda covers it i think. also kinda fixed the new game form, but honestly im considering just doing away with it. Unless i can save it by making it better, i was thinking it would be alot smoother to select date first, then be shown a list of games on that date, i could probably reuse the todays games function, this is good idea! Also the training script is updated to track 4 levels of expected values, 0 point up to 3 point margins, meaning it only counts games that have a large enough deviation from spread to prediction... only counting strong predictions against the spread..... This really creates some spectacular results, achieving upwards of 60% over the spread, thats plenty to cover fees and more!! So then i added the new metrics to the game django model and added some overall fields like percentages to the profiles model. Each game now has fields specifying if the game won over the spread, the exact margin amount, and then the 3 category margins of 1, 2, and 3 point margins. all the data is there and being updating properly now, im just not exactly sure how im gona integrate into the graphs and donut. I might delete the donut and just add like 5 bars to the other chart, not sure. when i figure out the charts, ill push the update with new metrics. |
Beta Was this translation helpful? Give feedback.
-
API spread data is fixed! i also built a predict all button, this button docent remove any injured players, and exclusively use's model slot 0. Really easy to go back and predict a bunch of games now, and test models. I think im gona work on writing a document, call it theStrategy, explain how the project works, and ill try to specifically articulate things there. |
Beta Was this translation helpful? Give feedback.
-
Really happy with how the new model is performing, getting much better results with smaller layers. I think the swish activation was causing some overfitting as-well. Really easy to test models now with the predict all button, i made a get all scores function, but im not gona upload that yet, mainly because it makes too many api calls too quickly. Worked on making an actual homepage pretty happy with where it's at, displays todays games on an infinite carousel. Probably will see errors with that in the coming days. Check out the new homepage! https://nbadata.cloud/home/ |
Beta Was this translation helpful? Give feedback.
-
Home page looks really good now! still want to add more text, not sure how that will look. I made a search players page, shows results in a table. Each player has a detail view as-well. Maybe i could link the detail view on edit game view for each player that would be cool. For now the detail player view has 2 buttons, update season average stats, and update team. Very use-full in future when players are traded. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hopefully api will be back online soon. I build out a team list view, with all the teams and can click on them to go to team detail view. Also improved team detail view a bit, looks better now. |
Beta Was this translation helpful? Give feedback.
-
got alot done today, added 2021 and 2022 seasons to training dataset. also made a system so that games can be marked as bets, and then there is a separate page with bets and stats on games marked bets. Also i think the default model is kinda overfitting, been having good luck with really small models, 32 layer1 16 layer2. will update default model and push updates tomorrow. Also I redid the team data so we calculate and add up win/loss/streak, no longer using saved dataset, just adding up values... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
In the future, work on improving the Model Training Center by adding the following features: Enhance data drop options to allow dropping players per team (from 7 to 0) and specific player stats (e.g., points or defensive rebounds). This will help focus on the most relevant data and reduce noise. Implement test game and train game seasons sliders to provide better control over the number of games in test sets and the amount of historical data used for training. This will help tailor the model to capture recent trends effectively. Additionally, include time series data graphs for model evaluation to visually assess the model's performance over time. This will make it easier to identify patterns and areas for improvement. |
Beta Was this translation helpful? Give feedback.
-
Created game series training chart, displayed batches of 5 games. |
Beta Was this translation helpful? Give feedback.
-
We now gather the previous game for each team. Each previous game is input using the top 5 players by playtime's game stats along with the game score. 3x the input features and hits the api's really hard, so i removed predict all button for now. each historical game is now also formed with the previous game. |
Beta Was this translation helpful? Give feedback.
-
👍🏼
…On Sat, May 6, 2023 at 11:33 AM Neal ***@***.***> wrote:
I am going to delete these messages now, please create a new topic if you
have any further questions, as this is the new feature section.
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY7NRWWCMNPZS76BGUVDN5DXE2KPHANCNFSM6AAAAAAUUAVFHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
just became a subscriber, is there a more detailed guide explaining what each feature is for training models? |
Beta Was this translation helpful? Give feedback.
-
Have an idea for a RLHF feature. So im thinking it would be great to continuously train models and update on more recent games. a button probably at the bottom of each game, when clicked will train the model on the individual game. Which model? i may have to build another model selector, or actually if its a previous game we should just make this only available for finished games, and also just make it select the model that was used to predict the game initially. Then we load up the saved dataset make sure we have the final scores, and train the model on the individual game... could be cool feature and help bridge the gap between historical data and future data... also ive been looking at a few different more professional looking data source's, i really think ensuring data integrity and authenticity is paramount. There are only a few first hand data recorders like espn and nba.com, but i want to work on a model that is based mainly off of game history. Instead of inputting the last previous game for each team, i think inputting a 5-10 game history, kinda like a sliding time window, or time series might improve accuracy. |
Beta Was this translation helpful? Give feedback.
-
This is awesome. I commend you. How well have the predictions been? And what are your thoughts on the various models used for prediction like whats used for https://github.com/kyleskom/NBA-Machine-Learning-Sports-Betting/ . I have found the XGBoost models to be consistent. |
Beta Was this translation helpful? Give feedback.
-
I have more stats to track now that we have spread, so i might make separate page just with graphs.
What features would you like to see?
Beta Was this translation helpful? Give feedback.
All reactions