Yashvj123 commited on
Commit
0d4c535
Β·
verified Β·
1 Parent(s): a2fe634

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -336,7 +336,7 @@ elif st.session_state.current_page == "EDA":
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>.
340
  </h5>
341
  """, unsafe_allow_html=True)
342
  st.markdown("<br>", unsafe_allow_html=True)
@@ -346,7 +346,7 @@ elif st.session_state.current_page == "EDA":
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
350
  <b>Schooling, Income Composition of Resources, GDP, Diphtheria, Polio, BMI, and Percentage Expenditure</b>.
351
  </h5>
352
  """, unsafe_allow_html=True)
@@ -359,7 +359,7 @@ elif st.session_state.current_page == "EDA":
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>
363
  1️⃣ **GDP vs. Life Expectancy**
364
  - Positive correlation: As GDP increases, Life Expectancy also increases.
365
  - Some countries with low GDP still have high Life Expectancy due to good healthcare policies.
@@ -388,13 +388,8 @@ elif st.session_state.current_page == "EDA":
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
 
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>.
340
  </h5>
341
  """, unsafe_allow_html=True)
342
  st.markdown("<br>", 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
350
  <b>Schooling, Income Composition of Resources, GDP, Diphtheria, Polio, BMI, and Percentage Expenditure</b>.
351
  </h5>
352
  """, unsafe_allow_html=True)
 
359
  st.image("images/specific_col_affecting_target.png", caption="GDP vs. Life Expectancy", use_container_width=True)
360
  st.markdown("""
361
  <h5>
362
+ Insights:
363
  1️⃣ **GDP vs. Life Expectancy**
364
  - Positive correlation: As GDP increases, Life Expectancy also increases.
365
  - Some countries with low GDP still have high Life Expectancy due to good healthcare policies.
 
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 Advanced Healthcare, Better Nutrition, Medical Interventions.Developing countries, on the other hand, struggle with healthcare access, leading to lower Life Expectancy.
392
+ </h5>""", unsafe_allow_html=True)
 
 
 
 
 
393
  st.markdown("<br>", unsafe_allow_html=True)
394
 
395
  # Hands-on Model Page