Mpavan45 commited on
Commit
9a2f7f0
Β·
verified Β·
1 Parent(s): e9022db

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +24 -24
Home.py CHANGED
@@ -1,32 +1,32 @@
1
- import streamlit as st
2
- import pandas as pd
3
- import numpy as np
4
 
5
- st.markdown("""
6
- <h1 style="text-align:center; color:orange;">Hotel Data Analysis & Machine Learning</h1>
7
- """, unsafe_allow_html=True)
8
 
9
- st.markdown("""
10
- ## Predicting Customer Preferences and Optimizing Pricing:
11
- #### πŸ“Š Data Exploration and Preprocessing:
12
- - <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>
13
- - <span style="font-size:20px;">Analyzing trends in **customer reviews**, **cashback offers**, **discounts**, and **free services** to identify influential factors.
14
 
15
- #### πŸ€– Predictive Modeling:
16
- - <span style="font-size:20px;">**Target Variable**: Predicting key metrics like *price category*, *likelihood of cancellation*, or *hotel ratings.*</span>
17
- - <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>
18
- - <span style="font-size:20px;">**Feature Engineering**: Extracting insights from **review text** (via text sentiment analysis) or **free services** (binary encoding).</span>
19
 
20
- #### πŸ“ˆ Model Evaluation:
21
- - <span style="font-size:20px;">Comparing model performance using metrics like **accuracy**, **F1 score**, or **RMSE**, depending on the task.</span>
22
- - <span style="font-size:20px;">Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization.</span>
23
 
24
- #### πŸ’Ό Insights and Deployment:
25
- - <span style="font-size:20px;">Unveiling actionable insights from **feature importance** to guide hotel marketing and pricing strategies.</span>
26
- - <span style="font-size:20px;">Deploying the model in a user-friendly interface to support stakeholders in making real-time decisions.</span>
27
 
28
- #### By integrating **machine learning** with **data analysis**, this project empowers hotel businesses to enhance customer satisfaction, optimize pricing strategies, and maximize profitability.
29
- """, unsafe_allow_html=True)
30
 
31
  import os
32
  import pandas as pd
@@ -82,7 +82,7 @@ if page == "Home":
82
  elif page == "Hotel Data":
83
  import pages.Hotel_Data
84
  elif page == "Simple-EDA":
85
- import pages.Simple-EDA
86
 
87
  # # File uploader to upload a new dataset
88
  # uploaded_file = st.file_uploader("Choose a CSV file", type=["csv"])
 
1
+ # import streamlit as st
2
+ # import pandas as pd
3
+ # import numpy as np
4
 
5
+ # st.markdown("""
6
+ # <h1 style="text-align:center; color:orange;">Hotel Data Analysis & Machine Learning</h1>
7
+ # """, unsafe_allow_html=True)
8
 
9
+ # st.markdown("""
10
+ # ## Predicting Customer Preferences and Optimizing Pricing:
11
+ # #### πŸ“Š Data Exploration and Preprocessing:
12
+ # - <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>
13
+ # - <span style="font-size:20px;">Analyzing trends in **customer reviews**, **cashback offers**, **discounts**, and **free services** to identify influential factors.
14
 
15
+ # #### πŸ€– Predictive Modeling:
16
+ # - <span style="font-size:20px;">**Target Variable**: Predicting key metrics like *price category*, *likelihood of cancellation*, or *hotel ratings.*</span>
17
+ # - <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>
18
+ # - <span style="font-size:20px;">**Feature Engineering**: Extracting insights from **review text** (via text sentiment analysis) or **free services** (binary encoding).</span>
19
 
20
+ # #### πŸ“ˆ Model Evaluation:
21
+ # - <span style="font-size:20px;">Comparing model performance using metrics like **accuracy**, **F1 score**, or **RMSE**, depending on the task.</span>
22
+ # - <span style="font-size:20px;">Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization.</span>
23
 
24
+ # #### πŸ’Ό Insights and Deployment:
25
+ # - <span style="font-size:20px;">Unveiling actionable insights from **feature importance** to guide hotel marketing and pricing strategies.</span>
26
+ # - <span style="font-size:20px;">Deploying the model in a user-friendly interface to support stakeholders in making real-time decisions.</span>
27
 
28
+ # #### By integrating **machine learning** with **data analysis**, this project empowers hotel businesses to enhance customer satisfaction, optimize pricing strategies, and maximize profitability.
29
+ # """, unsafe_allow_html=True)
30
 
31
  import os
32
  import pandas as pd
 
82
  elif page == "Hotel Data":
83
  import pages.Hotel_Data
84
  elif page == "Simple-EDA":
85
+ import pages.Simple_EDA
86
 
87
  # # File uploader to upload a new dataset
88
  # uploaded_file = st.file_uploader("Choose a CSV file", type=["csv"])