Spaces:
Sleeping
Sleeping
Update pages/0_Problem Statement.py
Browse files- 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
|
| 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 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
| 21 |
""")
|
| 22 |
|
| 23 |
st.markdown("")
|
| 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/
|
| 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:
|
| 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("")
|
| 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>
|