Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,12 +72,12 @@ elif page == "EDA":
|
|
| 72 |
col1, col2 = st.columns(2)
|
| 73 |
with col1:
|
| 74 |
st.subheader(" Anglez")
|
| 75 |
-
plot_histogram(df, "anglez", "#
|
| 76 |
st.markdown("- Distribution typical of rest posture")
|
| 77 |
|
| 78 |
with col2:
|
| 79 |
st.subheader(" ENMO")
|
| 80 |
-
plot_histogram(df, "enmo", "#
|
| 81 |
st.markdown("- ENMO reflects movement intensity")
|
| 82 |
|
| 83 |
# ---- Pairplot ----
|
|
@@ -90,7 +90,7 @@ elif page == "EDA":
|
|
| 90 |
# ---- Boxplots ----
|
| 91 |
st.subheader(" Boxplots")
|
| 92 |
fig, axs = plt.subplots(1, 2, figsize=(12, 5))
|
| 93 |
-
sns.boxplot(y=df["anglez"], ax=axs[0], color='#
|
| 94 |
axs[0].set_title("Boxplot: Anglez")
|
| 95 |
sns.boxplot(y=df["enmo"], ax=axs[1], color='#81ecec')
|
| 96 |
axs[1].set_title("Boxplot: ENMO")
|
|
|
|
| 72 |
col1, col2 = st.columns(2)
|
| 73 |
with col1:
|
| 74 |
st.subheader(" Anglez")
|
| 75 |
+
plot_histogram(df, "anglez", "#81ecec")
|
| 76 |
st.markdown("- Distribution typical of rest posture")
|
| 77 |
|
| 78 |
with col2:
|
| 79 |
st.subheader(" ENMO")
|
| 80 |
+
plot_histogram(df, "enmo", "#a29bfe")
|
| 81 |
st.markdown("- ENMO reflects movement intensity")
|
| 82 |
|
| 83 |
# ---- Pairplot ----
|
|
|
|
| 90 |
# ---- Boxplots ----
|
| 91 |
st.subheader(" Boxplots")
|
| 92 |
fig, axs = plt.subplots(1, 2, figsize=(12, 5))
|
| 93 |
+
sns.boxplot(y=df["anglez"], ax=axs[0], color='#ff7f0e')
|
| 94 |
axs[0].set_title("Boxplot: Anglez")
|
| 95 |
sns.boxplot(y=df["enmo"], ax=axs[1], color='#81ecec')
|
| 96 |
axs[1].set_title("Boxplot: ENMO")
|