Releases: nicidob/bbgm
The Bigger, Better Version (Edit #2)
- Should have players with Jr. Sr. and III in the name work now
- If a player missed a whole year, use their previous years stats
- Fill draft classes with future rookie performances.
- Edit #2 includes a model WITHOUT height and WITH per-game numbers
Initial Release (EDIT #3)
Corrected and Automatic Rosters for Basketball GM
We all love the rosters from alexnoob, but they don't really behave like normal BBGM Rosters.
So I've put together two ways of fixing this
(1) Normalized Rosters
Normalize a roster file so the individual ratings follow the same distribution as those generated by the game. The changes are monotonic; if someone had a higher rating inside shooting than someone else, it'll still be true in the resulting file. However, the shifts for the ratings vary in size, so the overall and potential numbers may change. I performed this normalization for AlexNoob's 19-20 v0.1 EDIT 12 9872d44 release and 18-19 v1.7.
(2) Automatic Rosters
Automatically generate rosters! This involves 4 main steps
- Using simulated BBGM seasons, build a model of how box score data relates to the ratings that Basketball GM uses (I used a small neural network)
- Grab a valid roster file (I used Alexnoob's final 18-19, normalized) for team logos
- Get statistics from Basketball Ref
- Use the simulated model from Step (1) to generate data from the real model step (3)
This only works for seasons that have data, but it can generate a valid roster from ANY YEAR of NBA data. I also automatically scraped contracts for the 18-19 year so the entire process is automatic. This process is a little brittle, it spit out the top players as Harden, George, Irving, Leonard, Butler, etc.
(Extras)
There's also a manual model based on box score data that's automatically scaled, and a version of the automatic one where I used VORP to scale the ratings a bit, putting my thumb on the scales and slightly cheating.
Edit 2
I added some 05 and 11 rosters. I don't have contract or draft data but the rest of the system is automatic.
Edit 3
Replaced with linear model
Edit 4
Fix rookie bug and generate average quality free agents so leagues can actually function.