import streamlit as st import pandas as pd import numpy as np st.markdown("""

Hotel Data Analysis & Machine Learning

""", unsafe_allow_html=True) st.markdown( """ """, unsafe_allow_html=True ) st.markdown(""" ### Predicting Customer Preferences and Optimizing Pricing: ##### 📊 Data Exploration and Preprocessing: - Cleaning and preparing data by handling missing values, encoding categorical features like *"category"* and *"location,"* and normalizing numerical data such as *"price"* and *"rating."* - Analyzing trends in **customer reviews**, **cashback offers**, **discounts**, and **free services** to identify influential factors. ##### 🤖 Predictive Modeling: - **Target Variable**: Predicting key metrics like *price category*, *likelihood of cancellation*, or *hotel ratings.* - **Model Selection**: Building ML models such as **Decision Trees**, **Random Forests**, or **Gradient Boosting** for classification or regression tasks. - **Feature Engineering**: Extracting insights from **review text** (via text sentiment analysis) or **free services** (binary encoding). ##### 📈 Model Evaluation: - Comparing model performance using metrics like **accuracy**, **F1 score**, or **RMSE**, depending on the task. - Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization. ##### 💼 Insights and Deployment: - Unveiling actionable insights from **feature importance** to guide hotel marketing and pricing strategies. - Deploying the model in a user-friendly interface to support stakeholders in making real-time decisions. ##### By integrating **machine learning** with **data analysis**, this project empowers hotel businesses to enhance customer satisfaction, optimize pricing strategies, and maximize profitability. """, unsafe_allow_html=True) # # Display an image from a file st.subheader("Hotel Data Analysis Model Creation Flow") st.markdown("![Beige Neutral Flowchart Graph Template.gif](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/owTdXfE7l7CdXQPSaAqBX.gif)") # Define the URL of the background image (use your own image URL) background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/vulm4WwHmmA14tsVXYaTM.jpeg" # Apply custom CSS for the background image and overlay st.markdown( f""" """, unsafe_allow_html=True )