Spaces:
Runtime error
Runtime error
Commit
·
ba1a0a7
1
Parent(s):
489879a
Minor change
Browse files
Source/Predict/predict.py
CHANGED
@@ -117,7 +117,7 @@ def predict(home,away,season,week,total):
|
|
117 |
matrix = xgb.DMatrix(data.astype(float).values)
|
118 |
|
119 |
# create game id
|
120 |
-
game_id = str(season) + '_0' + str(week) + '_' + away_abbrev + '_' + home_abbrev
|
121 |
print(game_id)
|
122 |
|
123 |
try:
|
|
|
117 |
matrix = xgb.DMatrix(data.astype(float).values)
|
118 |
|
119 |
# create game id
|
120 |
+
game_id = str(season) + '_0' + str(int(week)) + '_' + away_abbrev + '_' + home_abbrev
|
121 |
print(game_id)
|
122 |
|
123 |
try:
|