Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -12,33 +12,33 @@ st.markdown(
|
|
| 12 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/tpHrHhRfshOlltp16c7YZ.jpeg" width="100%" />
|
| 13 |
""",
|
| 14 |
unsafe_allow_html=True
|
| 15 |
-
)
|
| 16 |
-
st.subheader("Hotel Data Analysis Model Creation Flow")
|
| 17 |
-
st.markdown("")
|
| 18 |
-
|
| 19 |
st.markdown("""
|
| 20 |
## Predicting Customer Preferences and Optimizing Pricing:
|
| 21 |
-
|
| 22 |
- <span style="font-size:20px;">Cleaning and preparing data by handling missing values, encoding categorical features like *"category"* and *"location,"* and normalizing numerical data such as *"price"* and *"rating."*</span>
|
| 23 |
- <span style="font-size:20px;">Analyzing trends in **customer reviews**, **cashback offers**, **discounts**, and **free services** to identify influential factors.
|
| 24 |
|
| 25 |
-
|
| 26 |
- <span style="font-size:20px;">**Target Variable**: Predicting key metrics like *price category*, *likelihood of cancellation*, or *hotel ratings.*</span>
|
| 27 |
- <span style="font-size:20px;">**Model Selection**: Building ML models such as **Decision Trees**, **Random Forests**, or **Gradient Boosting** for classification or regression tasks.</span>
|
| 28 |
- <span style="font-size:20px;">**Feature Engineering**: Extracting insights from **review text** (via text sentiment analysis) or **free services** (binary encoding).</span>
|
| 29 |
|
| 30 |
-
|
| 31 |
- <span style="font-size:20px;">Comparing model performance using metrics like **accuracy**, **F1 score**, or **RMSE**, depending on the task.</span>
|
| 32 |
- <span style="font-size:20px;">Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization.</span>
|
| 33 |
|
| 34 |
-
|
| 35 |
- <span style="font-size:20px;">Unveiling actionable insights from **feature importance** to guide hotel marketing and pricing strategies.</span>
|
| 36 |
- <span style="font-size:20px;">Deploying the model in a user-friendly interface to support stakeholders in making real-time decisions.</span>
|
| 37 |
|
| 38 |
-
|
| 39 |
""", unsafe_allow_html=True)
|
| 40 |
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
# Define the URL of the background image (use your own image URL)
|
| 44 |
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/DmapBvMrtWJ2e-hVuW5wL.jpeg"
|
|
|
|
| 12 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/tpHrHhRfshOlltp16c7YZ.jpeg" width="100%" />
|
| 13 |
""",
|
| 14 |
unsafe_allow_html=True
|
| 15 |
+
)
|
|
|
|
|
|
|
|
|
|
| 16 |
st.markdown("""
|
| 17 |
## Predicting Customer Preferences and Optimizing Pricing:
|
| 18 |
+
##### π Data Exploration and Preprocessing:
|
| 19 |
- <span style="font-size:20px;">Cleaning and preparing data by handling missing values, encoding categorical features like *"category"* and *"location,"* and normalizing numerical data such as *"price"* and *"rating."*</span>
|
| 20 |
- <span style="font-size:20px;">Analyzing trends in **customer reviews**, **cashback offers**, **discounts**, and **free services** to identify influential factors.
|
| 21 |
|
| 22 |
+
##### π€ Predictive Modeling:
|
| 23 |
- <span style="font-size:20px;">**Target Variable**: Predicting key metrics like *price category*, *likelihood of cancellation*, or *hotel ratings.*</span>
|
| 24 |
- <span style="font-size:20px;">**Model Selection**: Building ML models such as **Decision Trees**, **Random Forests**, or **Gradient Boosting** for classification or regression tasks.</span>
|
| 25 |
- <span style="font-size:20px;">**Feature Engineering**: Extracting insights from **review text** (via text sentiment analysis) or **free services** (binary encoding).</span>
|
| 26 |
|
| 27 |
+
##### π Model Evaluation:
|
| 28 |
- <span style="font-size:20px;">Comparing model performance using metrics like **accuracy**, **F1 score**, or **RMSE**, depending on the task.</span>
|
| 29 |
- <span style="font-size:20px;">Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization.</span>
|
| 30 |
|
| 31 |
+
##### πΌ Insights and Deployment:
|
| 32 |
- <span style="font-size:20px;">Unveiling actionable insights from **feature importance** to guide hotel marketing and pricing strategies.</span>
|
| 33 |
- <span style="font-size:20px;">Deploying the model in a user-friendly interface to support stakeholders in making real-time decisions.</span>
|
| 34 |
|
| 35 |
+
##### By integrating **machine learning** with **data analysis**, this project empowers hotel businesses to enhance customer satisfaction, optimize pricing strategies, and maximize profitability.
|
| 36 |
""", unsafe_allow_html=True)
|
| 37 |
|
| 38 |
+
# # Display an image from a file
|
| 39 |
+
st.subheader("Hotel Data Analysis Model Creation Flow")
|
| 40 |
+
st.markdown("")
|
| 41 |
+
|
| 42 |
|
| 43 |
# Define the URL of the background image (use your own image URL)
|
| 44 |
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/DmapBvMrtWJ2e-hVuW5wL.jpeg"
|