Circhastic commited on
Commit
507c880
1 Parent(s): b5ca234

v1.1 release debug

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -134,17 +134,17 @@ def train_test(dataframe, n):
134
  return (training_y, test_y, test_y_series, training_X, test_X, future_X)
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=4, max_q=4, m=12,
141
- start_P=0, seasonal=True,
142
- d=None, D=1, trace=True,
143
- error_action='ignore',
144
- suppress_warnings=True,
145
- stepwise=True)
146
- model = trainTestModel
147
- return model
148
 
149
  @st.cache_data
150
  def forecast_accuracy(forecast, actual):
 
134
  return (training_y, test_y, test_y_series, training_X, test_X, future_X)
135
 
136
  @st.cache_data
137
+ def testFitting(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,
142
+ d=None, D=1, trace=True,
143
+ error_action='ignore',
144
+ suppress_warnings=True,
145
+ stepwise=True, maxiter = 50)
146
+ model = trainTestModel
147
+ return model
148
 
149
  @st.cache_data
150
  def forecast_accuracy(forecast, actual):