Spaces:
Running
Running
Commit
·
1b1247d
1
Parent(s):
c1a1d81
Update Source/Predict/predict.py
Browse files
Source/Predict/predict.py
CHANGED
@@ -148,6 +148,7 @@ def predict(home,away,season,week,total):
|
|
148 |
gbg = get_one_week_home_and_away(home_abbrev,away_abbrev,season,week)
|
149 |
gbg['Total Score Close'] = total
|
150 |
|
|
|
151 |
matrix = xgb.DMatrix(gbg.drop(columns=['game_id','Season']).astype(float).values)
|
152 |
|
153 |
# moneyline
|
|
|
148 |
gbg = get_one_week_home_and_away(home_abbrev,away_abbrev,season,week)
|
149 |
gbg['Total Score Close'] = total
|
150 |
|
151 |
+
print(gbg)
|
152 |
matrix = xgb.DMatrix(gbg.drop(columns=['game_id','Season']).astype(float).values)
|
153 |
|
154 |
# moneyline
|