trohith89 commited on
Commit
55a30b2
·
verified ·
1 Parent(s): 817ca87

Update pages/0_Problem-Statement_and_Aim.py

Browse files
pages/0_Problem-Statement_and_Aim.py CHANGED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+ import numpy as np
4
+
5
+ st.markdown("<h1 style='text-align:center; color:white;'>Problem Statement and Aim for this Project</h1>",unsafe_allow_html=True)
6
+
7
+
8
+ # Title of the Streamlit app
9
+ st.header("Analyzing and classifying the consumer electronics sales.")
10
+
11
+ # Problem statement section
12
+ st.subheader("Problem Statement :")
13
+
14
+ # Text explaining the problem
15
+ st.write("""
16
+ **Title:** Analyzing and predicting the electronics sales and consumer purchase intent Using Machine Learning
17
+
18
+ **Problem Statement:** Given a dataset of consumer electronics sales, which includes customer demographics, product details, and satisfaction metrics, Whether we can develop a classification model that can accurately predict whether a customer intends to purchase a product or not ?
19
+
20
+ **Aim for this project:** The goal of this project is to build a robust end-to-end machine learning pipeline to classify customer purchase intent using the provided features. The steps will include data preprocessing, exploratory data analysis (EDA), feature engineering, model training, and evaluation. The final goal is to achieve the highest possible accuracy and generalization on unseen data.
21
+
22
+ **Key Objectives :**
23
+ - Data Preprocessing, Feature Engineering
24
+ - Exploratory Data Analysis
25
+ - Model Creation & Evaluation
26
+ """)
27
+ st.markdown(
28
+ """
29
+ <div style="text-align: center;">
30
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/o_hx-CUYhb2kbgFHZpd9l.jpeg)" width="70%" />
31
+ </div>
32
+ """,
33
+ unsafe_allow_html=True
34
+ )
35
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/clljdAv7f_LGL8dH5vCZQ.jpeg"
36
+
37
+ # Apply custom CSS for the background image and overlay
38
+ st.markdown(
39
+ f"""
40
+ <style>
41
+ .stApp {{
42
+ background-image: url("{background_image_url}");
43
+ background-size: cover;
44
+ background-position: center;
45
+ height: 100vh;
46
+ }}
47
+
48
+ /* Semi-transparent overlay */
49
+ .stApp::before {{
50
+ content: "";
51
+ position: absolute;
52
+ top: 0;
53
+ left: 0;
54
+ width: 100%;
55
+ height: 100%;
56
+ background: rgba(0, 0, 0, 0.4); /* Adjust transparency here (0.4 for 40% transparency) */
57
+ z-index: -1;
58
+ }}
59
+ /* Styling the content to ensure text visibility */
60
+ .stMarkdown {{
61
+ color: white; /* White text to ensure visibility */
62
+ font-size: 50px; /* Adjust font size for better readability */
63
+ }}
64
+ </style>
65
+ """,
66
+ unsafe_allow_html=True
67
+ )