Mpavan45 commited on
Commit
05efc03
·
verified ·
1 Parent(s): 757df75

Update pages/3_EDA and Feature Engineering.py

Browse files
pages/3_EDA and Feature Engineering.py CHANGED
@@ -9,7 +9,7 @@ from imblearn.over_sampling import SMOTE
9
  st.markdown("<h1 style='text-align:center; color:lime;'>EDA and Feature Engineering</h1>",unsafe_allow_html=True)
10
 
11
  # Define the URL of the background image (use your own image URL)
12
- background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/MI0hTKaf1a2EmxUfA6TsV.png"
13
 
14
  # Apply custom CSS for the background image and overlay
15
  st.markdown(
@@ -43,7 +43,7 @@ st.markdown(
43
  }}
44
  /* Styling the markdown content */
45
  .stMarkdown {{
46
- color: white; /* White text to ensure visibility */
47
  font-size: 100px; /* Adjust font size for readability */
48
  }}
49
  </style>
@@ -108,7 +108,7 @@ st.write("""
108
  st.write("Further steps will include generating visualizations and statistical tests to explore relationships between features in more detail.")
109
 
110
  # Access dataset from session state
111
- data= st.session_state.get("data")
112
 
113
  if data is not None:
114
  st.subheader("Dataset Preview:")
 
9
  st.markdown("<h1 style='text-align:center; color:lime;'>EDA and Feature Engineering</h1>",unsafe_allow_html=True)
10
 
11
  # Define the URL of the background image (use your own image URL)
12
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/uuRffDOdqb_CQPlKm3_J5.jpeg"
13
 
14
  # Apply custom CSS for the background image and overlay
15
  st.markdown(
 
43
  }}
44
  /* Styling the markdown content */
45
  .stMarkdown {{
46
+ color: black; /* White text to ensure visibility */
47
  font-size: 100px; /* Adjust font size for readability */
48
  }}
49
  </style>
 
108
  st.write("Further steps will include generating visualizations and statistical tests to explore relationships between features in more detail.")
109
 
110
  # Access dataset from session state
111
+ data= st.session_state.get("cleaned_data")
112
 
113
  if data is not None:
114
  st.subheader("Dataset Preview:")