Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -744,7 +744,7 @@ if st.session_state.app_step == "dev":
|
|
| 744 |
|
| 745 |
def _dev_block(df, m):
|
| 746 |
c1,c2,c3 = st.columns(3)
|
| 747 |
-
c1.metric("R", f"{m['R']:.
|
| 748 |
st.markdown("""
|
| 749 |
<div style='text-align: left; font-size: 0.8em; color: #6b7280; margin-top: -16px; margin-bottom: 8px;'>
|
| 750 |
<strong>R:</strong> Pearson Correlation Coefficient<br>
|
|
@@ -816,7 +816,7 @@ if st.session_state.app_step == "validate":
|
|
| 816 |
if "Validate" in st.session_state.results:
|
| 817 |
m = st.session_state.results["m_val"]
|
| 818 |
c1,c2,c3 = st.columns(3)
|
| 819 |
-
c1.metric("R", f"{m['R']:.
|
| 820 |
st.markdown("""
|
| 821 |
<div style='text-align: left; font-size: 0.8em; color: #6b7280; margin-top: -16px; margin-bottom: 8px;'>
|
| 822 |
<strong>R:</strong> Pearson Correlation Coefficient<br>
|
|
|
|
| 744 |
|
| 745 |
def _dev_block(df, m):
|
| 746 |
c1,c2,c3 = st.columns(3)
|
| 747 |
+
c1.metric("R", f"{m['R']:.3f}"); c2.metric("RMSE", f"{m['RMSE']:.2f}"); c3.metric("MAE", f"{m['MAE']:.2f}")
|
| 748 |
st.markdown("""
|
| 749 |
<div style='text-align: left; font-size: 0.8em; color: #6b7280; margin-top: -16px; margin-bottom: 8px;'>
|
| 750 |
<strong>R:</strong> Pearson Correlation Coefficient<br>
|
|
|
|
| 816 |
if "Validate" in st.session_state.results:
|
| 817 |
m = st.session_state.results["m_val"]
|
| 818 |
c1,c2,c3 = st.columns(3)
|
| 819 |
+
c1.metric("R", f"{m['R']:.3f}"); c2.metric("RMSE", f"{m['RMSE']:.2f}"); c3.metric("MAE", f"{m['MAE']:.2f}")
|
| 820 |
st.markdown("""
|
| 821 |
<div style='text-align: left; font-size: 0.8em; color: #6b7280; margin-top: -16px; margin-bottom: 8px;'>
|
| 822 |
<strong>R:</strong> Pearson Correlation Coefficient<br>
|