Case study / project evidence
RFM Analysis for E-Commerce Customer Segmentation
This project aims to analyze e-commerce transaction data and group customers into specific segments based on their purchasing behavior using the RFM (Recency, Frequency, Monetary) model. The goal is to provide insights that can be used for more targeted and effective marketing strategies.
01 / Process
How the work unfolded
This project was part of an assignment for the Laskar AI bootcamp to create an interactive data analysis application. The process involved several key stages:
- Data Collection & Cleaning: The e-commerce transaction data was first cleaned to handle missing values, duplicates, and other anomalies to ensure the accuracy of the analysis.
- RFM Metric Calculation:
- Recency (R): Calculating when a customer last made a transaction.
- Frequency (F): Calculating how often a customer makes a purchase within a specific period.
- Monetary (M): Calculating the total monetary value spent by a customer.
- Customer Segmentation: After calculating the RFM metrics, each customer was assigned a score (e.g., on a 1-5 scale) for each metric. Based on the combination of R, F, and M scores, customers were grouped into segments such as "Best Customers," "Potential Loyalists," "At Risk," or "Lost Customers."
- Visualization & Dashboard Development: The analysis and segmentation results were visualized using Matplotlib. All findings were then integrated into an interactive web dashboard built with Streamlit, allowing users to visually and dynamically explore the customer segment distribution.
03 / Product proof
Key features
- Customer Segmentation
- RFM Analysis
- Data Visualization
- Interactive Dashboard
Continue exploring