Spaces:
Sleeping
Sleeping
Commit
·
2508f62
1
Parent(s):
d05d715
feat: updated website
Browse files
app.py
CHANGED
@@ -190,26 +190,7 @@ if page == "Summary":
|
|
190 |
st.markdown('#### Clustering Details')
|
191 |
|
192 |
# Horizontal layout for clustering metrics similar to "General Data Information"
|
193 |
-
st.
|
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)
|
213 |
# Middle Column (White): 3D Cluster Model and Bar Chart
|
214 |
with col2:
|
215 |
st.markdown('#### 3D Customer Clusters')
|
|
|
190 |
st.markdown('#### Clustering Details')
|
191 |
|
192 |
# Horizontal layout for clustering metrics similar to "General Data Information"
|
193 |
+
st.metric(label="Observations", value="696")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
# Middle Column (White): 3D Cluster Model and Bar Chart
|
195 |
with col2:
|
196 |
st.markdown('#### 3D Customer Clusters')
|