Gowthamvemula commited on
Commit
76cbe09
verified
1 Parent(s): ad25a8a

Update Home.py

Browse files

![DALL路E 2025-01-26 10.11.29 - A visually engaging landscape image depicting customer churn prediction in a financial context, with the text Customer Churn Prediction prominently .jpg](https://cdn-uploads.huggingface.co/production/uploads/67445925102349e867c92342/qVlbdupofJ-3eN5WxJqQ5.jpeg)

Files changed (1) hide show
  1. Home.py +7 -6
Home.py CHANGED
@@ -3,12 +3,12 @@ import pandas as pd
3
  import numpy as np
4
 
5
  # Page configuration
6
- st.set_page_config(page_title="Electronics Sales Analysis", layout="wide")
7
 
8
  # Title with centered alignment
9
  st.markdown(
10
  """
11
- <h1 style="text-align: center; color: white;">馃摫 Consumer Electronics Sales Analysis and ML Model 馃捇</h1>
12
  """,
13
  unsafe_allow_html=True
14
  )
@@ -17,7 +17,7 @@ st.markdown(
17
  st.markdown(
18
  """
19
  <div style="text-align: center;">
20
- <img src="https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/dV0WXaXfOUrNjQmNQkspQ.jpeg" width="90%" />
21
  </div>
22
  """,
23
  unsafe_allow_html=True
@@ -26,7 +26,7 @@ st.markdown(
26
  # Project description
27
  st.markdown(
28
  """
29
- ## Project Title: 馃摫Consumer Electronics Sales | EDA + Model 馃捇:
30
 
31
  ##### 馃搳 Data Exploration and Preprocessing:
32
  - Preparing data by encoding categorical features like "ProductCategory" and "ProductBrand" and scaling numerical data such as "price" and "rating", as the dataset has minimal outliers or missing values.
@@ -41,7 +41,7 @@ st.markdown(
41
  - Comparing model performance using metrics like **accuracy**, **F1 score**, or **Log-loss score**, depending on the task.
42
  - Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization.
43
 
44
- ##### By integrating **machine learning** with **data analysis**, this project empowers the Electronics market to enhance customer satisfaction, optimize pricing strategies according to purchase intent, and maximize profitability.
45
  """,
46
  unsafe_allow_html=True
47
  )
@@ -107,4 +107,5 @@ st.markdown(
107
 
108
  # Center-aligned button with emoji and functionality
109
  if st.button("Next 鈴笍"):
110
- st.switch_page("pages/0_Problem-Statement_and_Aim.py")
 
 
3
  import numpy as np
4
 
5
  # Page configuration
6
+ st.set_page_config(page_title="Customer Chrun Prediction", layout="wide")
7
 
8
  # Title with centered alignment
9
  st.markdown(
10
  """
11
+ <h1 style="text-align: center; color: white;">馃摫 Customer Churn Prediction and ML Model 馃捇</h1>
12
  """,
13
  unsafe_allow_html=True
14
  )
 
17
  st.markdown(
18
  """
19
  <div style="text-align: center;">
20
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/67445925102349e867c92342/qVlbdupofJ-3eN5WxJqQ5.jpeg" width="90%" />
21
  </div>
22
  """,
23
  unsafe_allow_html=True
 
26
  # Project description
27
  st.markdown(
28
  """
29
+ ## Project Title: 馃摫Customer Churn Prediction | EDA + Model 馃捇:
30
 
31
  ##### 馃搳 Data Exploration and Preprocessing:
32
  - Preparing data by encoding categorical features like "ProductCategory" and "ProductBrand" and scaling numerical data such as "price" and "rating", as the dataset has minimal outliers or missing values.
 
41
  - Comparing model performance using metrics like **accuracy**, **F1 score**, or **Log-loss score**, depending on the task.
42
  - Employing techniques like **hyperparameter tuning** and **cross-validation** for optimization.
43
 
44
+ ##### Customer churn prediction helps businesses identify customers at risk of leaving, enabling proactive retention strategies. By analyzing patterns like purchase behavior and customer feedback, it aids in tailoring personalized offers to reduce churn. This ultimately enhances customer satisfaction, loyalty, and profitability .
45
  """,
46
  unsafe_allow_html=True
47
  )
 
107
 
108
  # Center-aligned button with emoji and functionality
109
  if st.button("Next 鈴笍"):
110
+ st.switch_page("pages/0_Problem-Statement_and_Aim.py")
111
+