Circhastic commited on
Commit
b8821cb
1 Parent(s): 4331672

v1.1 release debug

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -135,7 +135,7 @@ def train_test(dataframe, n):
135
 
136
  @st.cache_data
137
  def test_fitting(dataframe, Exo, trainY):
138
- trainTestModel = auto_arima(X = Exo, y = trainY, start_p=1, start_q=1,
139
  test='adf',min_p=1,min_q=1,
140
  max_p=3, max_q=3, m=12,
141
  start_P=0, seasonal=True,
@@ -353,8 +353,8 @@ if (st.session_state.uploaded):
353
  # make series for future plotting purpose
354
  future_fitted_series = pd.Series(future_fitted)
355
  future_fitted_series.index = future_index_of_fc
356
- future_lower_series = pd.Series(confint[:, 0], index=future_index_of_fc)
357
- future_upper_series = pd.Series(confint[:, 1], index=future_index_of_fc)
358
 
359
  future_sales_growth = sales_growth(df, future_fitted_series)
360
 
 
135
 
136
  @st.cache_data
137
  def test_fitting(dataframe, Exo, trainY):
138
+ trainTestModel = auto_arima(X = Exo, y = trainY, start_p=0, start_q=0,
139
  test='adf',min_p=1,min_q=1,
140
  max_p=3, max_q=3, m=12,
141
  start_P=0, seasonal=True,
 
353
  # make series for future plotting purpose
354
  future_fitted_series = pd.Series(future_fitted)
355
  future_fitted_series.index = future_index_of_fc
356
+ # future_lower_series = pd.Series(confint[:, 0], index=future_index_of_fc)
357
+ # future_upper_series = pd.Series(confint[:, 1], index=future_index_of_fc)
358
 
359
  future_sales_growth = sales_growth(df, future_fitted_series)
360