Lullooo commited on
Commit
e7f9e9c
·
verified ·
1 Parent(s): 301d944

fixing typos

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -148,7 +148,8 @@ def predict_volatility(date):
148
 
149
 
150
  # ---------------- NOWCASTING ----------------
151
- X_xgb = df.iloc[-1:][xgb_features]
 
152
  X_ngb = df.iloc[-1:][ngb_features]
153
 
154
  point = xgb_model.predict(X_xgb)[0]
 
148
 
149
 
150
  # ---------------- NOWCASTING ----------------
151
+ X_xgb = df.iloc[-1:][xgb_model.get_booster().feature_names]
152
+ #X_xgb = df.iloc[-1:][xgb_features]
153
  X_ngb = df.iloc[-1:][ngb_features]
154
 
155
  point = xgb_model.predict(X_xgb)[0]