Update app.py
Browse files
app.py
CHANGED
|
@@ -331,6 +331,8 @@ datac["Status"] = oe.fit_transform(datac[["Status"]])
|
|
| 331 |
elif st.session_state.current_page == "EDA":
|
| 332 |
st.markdown("<h1 class='title'>Exploratory Data Analysis (EDA)</h1>", unsafe_allow_html=True)
|
| 333 |
|
|
|
|
|
|
|
| 334 |
# Target Column Distribution
|
| 335 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Target Column Distribution</h2>", unsafe_allow_html=True)
|
| 336 |
st.image("images/target_column_distribution.png", caption="Life Expectancy Distribution", use_container_width=True)
|
|
@@ -339,7 +341,8 @@ elif st.session_state.current_page == "EDA":
|
|
| 339 |
Insight: Mostly Life Expectancy is in <b>range of 50-80</b>.
|
| 340 |
</h5>
|
| 341 |
""", unsafe_allow_html=True)
|
| 342 |
-
|
|
|
|
| 343 |
|
| 344 |
# Correlation Heatmap
|
| 345 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Correlation Heatmap</h2>", unsafe_allow_html=True)
|
|
@@ -350,7 +353,8 @@ elif st.session_state.current_page == "EDA":
|
|
| 350 |
<b>Schooling, Income Composition of Resources, GDP, Diphtheria, Polio, BMI, and Percentage Expenditure</b>.
|
| 351 |
</h5>
|
| 352 |
""", unsafe_allow_html=True)
|
| 353 |
-
|
|
|
|
| 354 |
|
| 355 |
# How Specific Columns Affect Life Expectancy
|
| 356 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>How Specific Columns Affect Life Expectancy</h2>", unsafe_allow_html=True)
|
|
@@ -383,6 +387,8 @@ elif st.session_state.current_page == "EDA":
|
|
| 383 |
</h5>
|
| 384 |
""", unsafe_allow_html=True)
|
| 385 |
st.markdown("<br>", unsafe_allow_html=True)
|
|
|
|
|
|
|
| 386 |
|
| 387 |
# Life Expectancy vs Developed / Undeveloped Countries
|
| 388 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Life Expectancy vs Developed / Undeveloped Countries</h2>", unsafe_allow_html=True)
|
|
|
|
| 331 |
elif st.session_state.current_page == "EDA":
|
| 332 |
st.markdown("<h1 class='title'>Exploratory Data Analysis (EDA)</h1>", unsafe_allow_html=True)
|
| 333 |
|
| 334 |
+
st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
|
| 335 |
+
|
| 336 |
# Target Column Distribution
|
| 337 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Target Column Distribution</h2>", unsafe_allow_html=True)
|
| 338 |
st.image("images/target_column_distribution.png", caption="Life Expectancy Distribution", use_container_width=True)
|
|
|
|
| 341 |
Insight: Mostly Life Expectancy is in <b>range of 50-80</b>.
|
| 342 |
</h5>
|
| 343 |
""", unsafe_allow_html=True)
|
| 344 |
+
|
| 345 |
+
st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
|
| 346 |
|
| 347 |
# Correlation Heatmap
|
| 348 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Correlation Heatmap</h2>", unsafe_allow_html=True)
|
|
|
|
| 353 |
<b>Schooling, Income Composition of Resources, GDP, Diphtheria, Polio, BMI, and Percentage Expenditure</b>.
|
| 354 |
</h5>
|
| 355 |
""", unsafe_allow_html=True)
|
| 356 |
+
|
| 357 |
+
st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
|
| 358 |
|
| 359 |
# How Specific Columns Affect Life Expectancy
|
| 360 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>How Specific Columns Affect Life Expectancy</h2>", unsafe_allow_html=True)
|
|
|
|
| 387 |
</h5>
|
| 388 |
""", unsafe_allow_html=True)
|
| 389 |
st.markdown("<br>", unsafe_allow_html=True)
|
| 390 |
+
|
| 391 |
+
st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
|
| 392 |
|
| 393 |
# Life Expectancy vs Developed / Undeveloped Countries
|
| 394 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Life Expectancy vs Developed / Undeveloped Countries</h2>", unsafe_allow_html=True)
|