Sagar Thacker commited on
Commit
77aa42d
·
1 Parent(s): 4b1c70e

update to app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -108,6 +108,14 @@ def cal_result(alpha, month):
108
 
109
 
110
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
111
  with gr.Row():
112
  alpha = gr.Dropdown(choices=["0.1", "0.05", "0.01"], label="Significance level", info="The significance level for the confidence intervals.", value="0.05")
113
  month = gr.Dropdown(choices=["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], label="Forecast period", info="The number of months to forecast.", value="12")
 
108
 
109
 
110
  with gr.Blocks() as demo:
111
+ gr.Markdown("""There are two models with the difference with the damped parameter. Why are there two models? Why do we use damping?
112
+
113
+ 1. **Realistic Forecasts**: In many real-world scenarios, it's unlikely for a trend to continue indefinitely at the same rate. For example, if sales of a product are increasing, they might not keep increasing forever at the same rate. After a certain point, the growth might slow down. Damping takes this into account.
114
+
115
+ 2. **Avoid Over-optimistic or Pessimistic Predictions**: Without damping, the model could make overly optimistic (for upward trends) or overly pessimistic (for downward trends) predictions for long-term forecasts.
116
+
117
+ 3. **Stability**: Damped models often provide more stable long-term forecasts, especially when the data has some inherent variability or noise.""")
118
+
119
  with gr.Row():
120
  alpha = gr.Dropdown(choices=["0.1", "0.05", "0.01"], label="Significance level", info="The significance level for the confidence intervals.", value="0.05")
121
  month = gr.Dropdown(choices=["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], label="Forecast period", info="The number of months to forecast.", value="12")