Update app.py
Browse files
app.py
CHANGED
|
@@ -333,7 +333,7 @@ elif st.session_state.current_page == "EDA":
|
|
| 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/
|
| 337 |
st.markdown("""
|
| 338 |
<h5 style="text-align: center;">
|
| 339 |
π Insight: Mostly Life Expectancy is in <b>range of 50-80</b>.
|
|
@@ -343,7 +343,7 @@ elif st.session_state.current_page == "EDA":
|
|
| 343 |
|
| 344 |
# Correlation Heatmap
|
| 345 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Correlation Heatmap</h2>", unsafe_allow_html=True)
|
| 346 |
-
st.image("images/
|
| 347 |
st.markdown("""
|
| 348 |
<h5 style="text-align: center;">
|
| 349 |
π Insight: Our target column <b>Life Expectancy</b> is mostly linearly dependent on
|
|
@@ -356,7 +356,7 @@ elif st.session_state.current_page == "EDA":
|
|
| 356 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>How Specific Columns Affect Life Expectancy</h2>", unsafe_allow_html=True)
|
| 357 |
|
| 358 |
# GDP vs. Life Expectancy
|
| 359 |
-
st.image("images/
|
| 360 |
st.markdown("""
|
| 361 |
<h5>
|
| 362 |
π <b>Insights from the Above Graphs:</b>
|
|
@@ -383,18 +383,18 @@ elif st.session_state.current_page == "EDA":
|
|
| 383 |
""", unsafe_allow_html=True)
|
| 384 |
st.markdown("<br>", unsafe_allow_html=True)
|
| 385 |
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
st.markdown("<br>", unsafe_allow_html=True)
|
| 399 |
|
| 400 |
# Hands-on Model Page
|
|
|
|
| 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)
|
| 337 |
st.markdown("""
|
| 338 |
<h5 style="text-align: center;">
|
| 339 |
π Insight: Mostly Life Expectancy is in <b>range of 50-80</b>.
|
|
|
|
| 343 |
|
| 344 |
# Correlation Heatmap
|
| 345 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>Correlation Heatmap</h2>", unsafe_allow_html=True)
|
| 346 |
+
st.image("images/Correlation_Heatmap.png", caption="Correlation Heatmap", use_container_width=True)
|
| 347 |
st.markdown("""
|
| 348 |
<h5 style="text-align: center;">
|
| 349 |
π Insight: Our target column <b>Life Expectancy</b> is mostly linearly dependent on
|
|
|
|
| 356 |
st.markdown("<h2 class='subtitle' style='text-align: center;'>How Specific Columns Affect Life Expectancy</h2>", unsafe_allow_html=True)
|
| 357 |
|
| 358 |
# GDP vs. Life Expectancy
|
| 359 |
+
st.image("images/specific_col_affecting_target.png", caption="GDP vs. Life Expectancy", use_container_width=True)
|
| 360 |
st.markdown("""
|
| 361 |
<h5>
|
| 362 |
π <b>Insights from the Above Graphs:</b>
|
|
|
|
| 383 |
""", unsafe_allow_html=True)
|
| 384 |
st.markdown("<br>", unsafe_allow_html=True)
|
| 385 |
|
| 386 |
+
# Life Expectancy vs Developed / Undeveloped Countries
|
| 387 |
+
st.markdown("<h2 class='subtitle' style='text-align: center;'>Life Expectancy vs Developed / Undeveloped Countries</h2>", unsafe_allow_html=True)
|
| 388 |
+
st.image("images/target_col vs countries.png", caption="Life Expectancy vs Developed / Undeveloped Countries", use_container_width=True)
|
| 389 |
+
st.markdown("""
|
| 390 |
+
<h5 style="text-align: center;">
|
| 391 |
+
- **Insight:** Life Expectancy is <b>higher in Developed Countries</b> due to:
|
| 392 |
+
- **Advanced Healthcare** π
|
| 393 |
+
- **Better Nutrition** π
|
| 394 |
+
- **Medical Interventions** π₯
|
| 395 |
+
- Developing countries, on the other hand, struggle with healthcare access, leading to lower Life Expectancy.
|
| 396 |
+
</h5>
|
| 397 |
+
""", unsafe_allow_html=True)
|
| 398 |
st.markdown("<br>", unsafe_allow_html=True)
|
| 399 |
|
| 400 |
# Hands-on Model Page
|