Closed JasperShoe closed 11 months ago
Huh? Where is home_team_odds?
Doesnt fix the problem
this method does not seem to fix the issue
i still have the problem
There are no games. Its trying to get odds for games that don't exist yet, try again when the season starts.
File "/Users/.../NBA-Machine-Learning-Sports-Betting/src/Utils/Kelly_Criterion.py", line 5, in american_to_decimal if american_odds >= 100: TypeError: '>=' not supported between instances of 'str' and 'int'
Fix: Change home_team_odds[count] to int(home_team_odds[count]) Change away_team_odds[count] to int(away_team_odds[count])