Spaces:
Running
Running
Commit
·
0751948
1
Parent(s):
24d0d7c
v1.1 release fix
Browse files
app.py
CHANGED
|
@@ -360,7 +360,10 @@ if (st.session_state.uploaded):
|
|
| 360 |
future_sales_growth = sales_growth(df, future_fitted_series)
|
| 361 |
|
| 362 |
test_y, predictions = np.array(test_y), np.array(fitted)
|
|
|
|
|
|
|
| 363 |
score = forecast_accuracy(predictions, test_y)
|
|
|
|
| 364 |
mape, interpretation, mape_color = interpret_mape(score['mape'])
|
| 365 |
|
| 366 |
print(df)
|
|
|
|
| 360 |
future_sales_growth = sales_growth(df, future_fitted_series)
|
| 361 |
|
| 362 |
test_y, predictions = np.array(test_y), np.array(fitted)
|
| 363 |
+
print("Test Y:", test_y) # debug
|
| 364 |
+
print("Prediction:", fitted) # debug
|
| 365 |
score = forecast_accuracy(predictions, test_y)
|
| 366 |
+
print("Score:", score) # debug
|
| 367 |
mape, interpretation, mape_color = interpret_mape(score['mape'])
|
| 368 |
|
| 369 |
print(df)
|