Yashvj123 commited on
Commit
a2fe634
Β·
verified Β·
1 Parent(s): 6069b16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -15
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/life_expectancy_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,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/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,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/gdp_vs_life_expectancy.png", caption="GDP vs. Life Expectancy", use_container_width=True)
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
- # Life Expectancy vs Developed / Undeveloped Countries
387
- st.image("images/life_expectancy_vs_developed.png", caption="Life Expectancy vs Developed / Undeveloped Countries", use_container_width=True)
388
- st.markdown("""
389
- <h5>
390
- 6️⃣ <b>Life Expectancy vs Developed / Undeveloped Countries</b>
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
 
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