Circhastic commited on
Commit
496f54b
·
1 Parent(s): caaf4aa

v1.1 release fix

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -303,6 +303,8 @@ with st.sidebar:
303
  df = date_format(df)
304
  merge_sort(df)
305
  series = group_to_three(df)
 
 
306
 
307
  st.session_state.uploaded = True
308
 
@@ -332,6 +334,7 @@ if (st.session_state.uploaded):
332
  train_test_model = test_fitting(df, training_X, training_y)
333
 
334
  n_periods = round(len(df) * 0.2)
 
335
  future_n_periods = forecast_period
336
  fitted, confint = train_test_model.predict(X=test_X, n_periods=n_periods, return_conf_int=True)
337
  index_of_fc = test_y_series.index
 
303
  df = date_format(df)
304
  merge_sort(df)
305
  series = group_to_three(df)
306
+ print(series) # debug
307
+ print(len(series)) # debug
308
 
309
  st.session_state.uploaded = True
310
 
 
334
  train_test_model = test_fitting(df, training_X, training_y)
335
 
336
  n_periods = round(len(df) * 0.2)
337
+ print(n_periods) # debug
338
  future_n_periods = forecast_period
339
  fitted, confint = train_test_model.predict(X=test_X, n_periods=n_periods, return_conf_int=True)
340
  index_of_fc = test_y_series.index