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