Srikanthgoud7 commited on
Commit
b44bc98
Β·
verified Β·
1 Parent(s): 5d170fc

Create pages/3 EDA.py

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