Spaces:
Sleeping
Sleeping
Commit
·
d05d715
1
Parent(s):
5518a43
feat: updated website
Browse files
app.py
CHANGED
@@ -189,24 +189,24 @@ if page == "Summary":
|
|
189 |
|
190 |
st.markdown('#### Clustering Details')
|
191 |
|
192 |
-
#
|
193 |
st.markdown(f"""
|
194 |
-
<div style="display: flex; justify-content: space-
|
195 |
-
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%;">
|
196 |
-
<h5 style="color:{primary_color};
|
197 |
-
<h3 style="color:{text_color};
|
198 |
</div>
|
199 |
-
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%;">
|
200 |
-
<h5 style="color:{primary_color};
|
201 |
-
<h3 style="color:{text_color};
|
202 |
</div>
|
203 |
-
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%;">
|
204 |
-
<h5 style="color:{primary_color};
|
205 |
-
<h3 style="color:{text_color};
|
206 |
</div>
|
207 |
-
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%;">
|
208 |
-
<h5 style="color:{primary_color};
|
209 |
-
<h3 style="color:{text_color};
|
210 |
</div>
|
211 |
</div>
|
212 |
""", unsafe_allow_html=True)
|
|
|
189 |
|
190 |
st.markdown('#### Clustering Details')
|
191 |
|
192 |
+
# Horizontal layout for clustering metrics similar to "General Data Information"
|
193 |
st.markdown(f"""
|
194 |
+
<div style="display: flex; justify-content: space-around;">
|
195 |
+
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%; text-align: center;">
|
196 |
+
<h5 style="color:{primary_color};">Observations</h5>
|
197 |
+
<h3 style="color:{text_color};">696</h3>
|
198 |
</div>
|
199 |
+
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%; text-align: center;">
|
200 |
+
<h5 style="color:{primary_color};">Silhouette Score</h5>
|
201 |
+
<h3 style="color:{text_color};">0.57744</h3>
|
202 |
</div>
|
203 |
+
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%; text-align: center;">
|
204 |
+
<h5 style="color:{primary_color};">Calinski-Harabasz</h5>
|
205 |
+
<h3 style="color:{text_color};">422.98</h3>
|
206 |
</div>
|
207 |
+
<div style="background-color:{metric_box_color}; padding: 15px; border-radius: 8px; width: 20%; text-align: center;">
|
208 |
+
<h5 style="color:{primary_color};">Davies-Bouldin</h5>
|
209 |
+
<h3 style="color:{text_color};">0.63446</h3>
|
210 |
</div>
|
211 |
</div>
|
212 |
""", unsafe_allow_html=True)
|