TOPSInfosol commited on
Commit
41cc975
·
verified ·
1 Parent(s): 5541bd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -149,6 +149,7 @@ def forecast_chronos_data(df_state, date_column, target_column, select_period, f
149
 
150
  forecast_index = range(len(monthly_sales), len(monthly_sales) + prediction_length)
151
  low, median, high = np.quantile(forecast[0].numpy(), [0.1, 0.5, 0.9], axis=0)
 
152
 
153
  forecast_index = list(forecast_index)
154
  fig = px.line(
 
149
 
150
  forecast_index = range(len(monthly_sales), len(monthly_sales) + prediction_length)
151
  low, median, high = np.quantile(forecast[0].numpy(), [0.1, 0.5, 0.9], axis=0)
152
+ low, median, high = np.ceil(low).astype(int), np.ceil(median).astype(int), np.ceil(high).astype(int)
153
 
154
  forecast_index = list(forecast_index)
155
  fig = px.line(