Customers are crucial for any organization, and customer retention is key for long-term success. This project focuses on customer segmentation leveraging predictive modeling, data visualization, and segmentation to optimize marketing efforts.
The dataset, named 'jewellery,' includes customer profiles with attributes like age, income, spending score, and savings. We aim to classify customers into segments for targeted marketing.
Build an end-to-end unsupervised solution for customer segmentation using PyCaret to categorize customers into segments and deploy the model using Streamlit.
- Language:
Python
- Libraries:
PyCaret
,Pandas
,Streamlit
- Import required libraries and packages
- Open the configuration file
- Get the dataset
- Setup PyCaret environment
- Model Creation
- Model Assigning
- Plotting model
- Making predictions
- Saving Model
- Creating Streamlit application
- Creating a GitHub repository for the project
- Connecting Streamlit Cloud to GitHub
- Deploying the project
-
input
- Config file
jewel_data.csv
with customer data
-
src
- engine.py
- ml_pipeline
- Folder containing modularized code for various steps
- streamlit_app
- Folder with the Streamlit application file
requirements.txt
for package installation
-
output
- Model trained on the data for future use
-
lib
- Reference folder containing the original ipython notebook