Update app.py
Browse files
app.py
CHANGED
@@ -77,12 +77,8 @@ def main():
|
|
77 |
st.plotly_chart(fig2)
|
78 |
|
79 |
st.subheader('Performance Metrics')
|
80 |
-
st.write(
|
81 |
-
|
82 |
-
- **Mean Absolute Error (MAE)**: A lower value indicates better performance.
|
83 |
-
- **Mean Squared Error (MSE)**: A lower value indicates better performance, and it penalizes larger errors more than MAE.
|
84 |
-
- **Root Mean Squared Error (RMSE)**: A lower value indicates better performance, similar to MSE, but in the same units as the target variable.
|
85 |
-
""")
|
86 |
actual = df['y']
|
87 |
predicted = forecast['yhat'][:len(df)]
|
88 |
metrics = calculate_performance_metrics(actual, predicted)
|
|
|
77 |
st.plotly_chart(fig2)
|
78 |
|
79 |
st.subheader('Performance Metrics')
|
80 |
+
st.write('The metrics below provide a quantitative measure of the model’s accuracy: - **Mean Absolute Error (MAE)**: A lower value indicates better performance. - **Mean Squared Error (MSE)**: A lower value indicates better performance, and it penalizes larger errors more than MAE.- **Root Mean Squared Error (RMSE)**: A lower value indicates better performance, similar to MSE, but in the same units as the target variable.
|
81 |
+
')
|
|
|
|
|
|
|
|
|
82 |
actual = df['y']
|
83 |
predicted = forecast['yhat'][:len(df)]
|
84 |
metrics = calculate_performance_metrics(actual, predicted)
|