Mpavan45 commited on
Commit
a72a1cb
·
verified ·
1 Parent(s): 3d74bd6

Update pages/0_Problem Statement.py

Browse files
Files changed (1) hide show
  1. pages/0_Problem Statement.py +11 -10
pages/0_Problem Statement.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  import pandas as pd
3
  import numpy as np
4
 
5
- st.markdown("<h1 style='text-align:center; color:red;'>Problem Statement</h1>",unsafe_allow_html=True)
6
 
7
 
8
  # Title of the Streamlit app
@@ -11,18 +11,19 @@ st.header("Predicting Agoda Room Categories Using Machine Learning")
11
  # Problem statement section
12
  st.subheader("Problem Statement")
13
  st.write("Here, describe the problem statement and the objectives of the project.")
14
- # Text explaining the problem
15
- st.write("""
16
- **Title:** Predicting Agoda Room Categories Using Machine Learning
17
-
18
- **Context:** Agoda, a leading online travel booking platform, offers a variety of accommodation options. Each room is categorized based on various features like customer ratings, reviews, cashback offers, discounts, state, and price. Accurately predicting the room category can enhance user experience by recommending relevant options and improving operational efficiency.
19
-
20
- **Problem Statement:** The goal is to build a predictive model that can classify room listings into predefined categories (e.g., budget, standard, premium, luxury) using the provided features. The challenge lies in choosing the best machine learning model and its hyperparameters to minimize classification error, particularly focusing on log-loss as the evaluation metric.
 
21
  """)
22
 
23
  st.markdown("![Problem_Statement-768x432.jpg](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/4WmVeJ5lMh1PoSlCYWKp9.jpeg)")
24
  # Define the URL of the background image (use your own image URL)
25
- background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/uuRffDOdqb_CQPlKm3_J5.jpeg"
26
 
27
  # Apply custom CSS for the background image and overlay
28
  st.markdown(
@@ -49,7 +50,7 @@ st.markdown(
49
 
50
  /* Styling the content to ensure text visibility */
51
  .stMarkdown {{
52
- color: black; /* White text to ensure visibility */
53
  font-size: 30px; /* Adjust font size for better readability */
54
  }}
55
  </style>
 
2
  import pandas as pd
3
  import numpy as np
4
 
5
+ st.markdown("<h1 style='text-align:center; color:#00FFFF;'>Problem Statement</h1>",unsafe_allow_html=True)
6
 
7
 
8
  # Title of the Streamlit app
 
11
  # Problem statement section
12
  st.subheader("Problem Statement")
13
  st.write("Here, describe the problem statement and the objectives of the project.")
14
+ st.markdown("""
15
+ **Title:** Predicting Agoda Room Categories Using Machine Learning
16
+
17
+ **Context:**
18
+ Agoda, a leading online travel booking platform, offers a variety of accommodation options. Each room is categorized based on various features like customer ratings, reviews, cashback offers, discounts, state, and price. Accurately predicting the room category can enhance user experience by recommending relevant options and improving operational efficiency.
19
+
20
+ **Problem Statement:**
21
+ The goal is to build a predictive model that can classify room listings into predefined categories (e.g., budget, standard, premium, luxury) using the provided features. The challenge lies in choosing the best machine learning model and its hyperparameters to minimize classification error, particularly focusing on log-loss as the evaluation metric.
22
  """)
23
 
24
  st.markdown("![Problem_Statement-768x432.jpg](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/4WmVeJ5lMh1PoSlCYWKp9.jpeg)")
25
  # Define the URL of the background image (use your own image URL)
26
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/hIrxQZQVeTsFIegm32tR7.jpeg"
27
 
28
  # Apply custom CSS for the background image and overlay
29
  st.markdown(
 
50
 
51
  /* Styling the content to ensure text visibility */
52
  .stMarkdown {{
53
+ color: white; /* White text to ensure visibility */
54
  font-size: 30px; /* Adjust font size for better readability */
55
  }}
56
  </style>