Srikanthgoud7 commited on
Commit
ea47a40
·
verified ·
1 Parent(s): d875659

Create pages/3 EDA.py

Browse files
Files changed (1) hide show
  1. pages/pages/3 EDA.py +32 -0
pages/pages/3 EDA.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.markdown("""
4
+ ## 📈 Exploratory Data Analysis (EDA)
5
+
6
+ ### 🔍 Data Exploration:
7
+
8
+ The dataset was thoroughly explored to understand patterns and relationships among the features that contribute to project risk.
9
+ The focus was on identifying which factors most influence whether a project is categorized as **Low**, **Medium**, or **High Risk**.
10
+
11
+ ### 📊 Key Observations:
12
+
13
+ - Projects with **high pollution levels** and **low green space** were more likely to fall under **High Risk**
14
+ - A **smaller distance to industrial areas** significantly increased the risk classification
15
+ - **Large team sizes** with insufficient environmental planning showed a trend toward higher risk
16
+ - **Project type** played a major role, with construction and manufacturing projects being riskier on average
17
+
18
+ ### 📉 Visualization Techniques:
19
+
20
+ - **Countplots** to visualize the distribution of categorical variables like project type and risk level
21
+ - **Boxplots** to analyze budget and team size across different risk levels
22
+ - **Heatmaps** to study correlations among features and the target (risk level)
23
+ - **Pairplots** for a multivariate look at environmental and internal features
24
+
25
+ These insights were crucial in **feature selection** and helped improve model accuracy during the training phase.
26
+ """)
27
+
28
+ if st.button('Next'):
29
+ st.switch_page(r"pages\4.Feature Engineering.py")
30
+
31
+ if st.button('Back'):
32
+ st.switch_page(r"pages\2.Data Understanding.py")