Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -184,7 +184,6 @@ with tab1:
|
|
| 184 |
### Visualizing Groups
|
| 185 |
##### Here are the groups from our tidying method. Each color has a number at its center, representing its group.
|
| 186 |
""")
|
| 187 |
-
st.plotly_chart(fig)
|
| 188 |
if use_pca:
|
| 189 |
st.write("""
|
| 190 |
##### 🧠 PCA (Principal Component Analysis) is like looking at a messy room from the best angle to see the most mess. It helps us see our data more clearly!
|
|
@@ -241,7 +240,7 @@ with tab1:
|
|
| 241 |
|
| 242 |
# Update layout
|
| 243 |
fig.update_layout(width=1200, height=500)
|
| 244 |
-
|
| 245 |
st.write(f"##### Overlapping clusters mean some flowers are very similar and hard to tell apart just by looking at these features.")
|
| 246 |
st.write(f"# Based on your flower data (⭐), it likely belongs to **Group {dmojis[predicted_cluster[0]+1]}**")
|
| 247 |
|
|
|
|
| 184 |
### Visualizing Groups
|
| 185 |
##### Here are the groups from our tidying method. Each color has a number at its center, representing its group.
|
| 186 |
""")
|
|
|
|
| 187 |
if use_pca:
|
| 188 |
st.write("""
|
| 189 |
##### 🧠 PCA (Principal Component Analysis) is like looking at a messy room from the best angle to see the most mess. It helps us see our data more clearly!
|
|
|
|
| 240 |
|
| 241 |
# Update layout
|
| 242 |
fig.update_layout(width=1200, height=500)
|
| 243 |
+
st.plotly_chart(fig)
|
| 244 |
st.write(f"##### Overlapping clusters mean some flowers are very similar and hard to tell apart just by looking at these features.")
|
| 245 |
st.write(f"# Based on your flower data (⭐), it likely belongs to **Group {dmojis[predicted_cluster[0]+1]}**")
|
| 246 |
|