Spaces:
Running
Running
Commit ·
9010788
1
Parent(s): a0a099c
Fix app
Browse files
app.py
CHANGED
|
@@ -317,6 +317,7 @@ if (st.session_state.uploaded):
|
|
| 317 |
n_periods = round(len(df) * 0.2)
|
| 318 |
future_n_periods = forecast_period
|
| 319 |
fitted, confint = train_test_model.predict(X=test_X, n_periods=n_periods, return_conf_int=True)
|
|
|
|
| 320 |
|
| 321 |
# make series for plotting purpose
|
| 322 |
fitted_series = pd.Series(fitted)
|
|
|
|
| 317 |
n_periods = round(len(df) * 0.2)
|
| 318 |
future_n_periods = forecast_period
|
| 319 |
fitted, confint = train_test_model.predict(X=test_X, n_periods=n_periods, return_conf_int=True)
|
| 320 |
+
index_of_fc = test_y_series.index
|
| 321 |
|
| 322 |
# make series for plotting purpose
|
| 323 |
fitted_series = pd.Series(fitted)
|