Spaces:
Running
Running
Commit
·
24d0d7c
1
Parent(s):
f0990f4
v1.1 release debug
Browse files
app.py
CHANGED
|
@@ -138,13 +138,14 @@ 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=
|
| 142 |
d=None, D=1, trace=True,
|
| 143 |
error_action='ignore',
|
| 144 |
suppress_warnings=True,
|
| 145 |
-
stepwise=True, maxiter =
|
| 146 |
model = trainTestModel
|
| 147 |
return model
|
|
|
|
| 148 |
|
| 149 |
@st.cache_data
|
| 150 |
def forecast_accuracy(forecast, actual):
|
|
|
|
| 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=2, start_Q=2, 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 |
|
| 150 |
@st.cache_data
|
| 151 |
def forecast_accuracy(forecast, actual):
|