Update app.py
Browse files
app.py
CHANGED
@@ -77,8 +77,11 @@ def main():
|
|
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
|
81 |
-
')
|
|
|
|
|
|
|
82 |
actual = df['y']
|
83 |
predicted = forecast['yhat'][:len(df)]
|
84 |
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.')
|
81 |
+
st.write('**Mean Absolute Error (MAE)**: A lower value indicates better performance.')
|
82 |
+
st.write('**Mean Squared Error (MSE)**: A lower value indicates better performance, and it penalizes larger errors more than MAE.')
|
83 |
+
st.write('**Root Mean Squared Error (RMSE)**: A lower value indicates better performance, similar to MSE, but in the same units as the target variable.')
|
84 |
+
|
85 |
actual = df['y']
|
86 |
predicted = forecast['yhat'][:len(df)]
|
87 |
metrics = calculate_performance_metrics(actual, predicted)
|