Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project segments e-commerce customers using Recency, Frequency and Monetary (RFM) analysis combined with K-Means clustering to uncover distinct buyer personas such as loyal customers, at-risk customers and bargain hunters. The segments are visualized and translated into actionable marketing recommendations. The goal is to help online retailers personalize campaigns instead of sending generic promotions.
Problem Statement
Most online stores treat every customer identically in their marketing campaigns, wasting budget on customers who would have purchased anyway while ignoring customers who are about to churn. There is a need for a data-driven way to group customers by purchasing behaviour so marketing spend can be targeted more effectively.
Objectives
Compute Recency, Frequency and Monetary scores from transaction history
Apply K-Means clustering to group customers into behavioural segments
Profile each segment with descriptive statistics and visual summaries
Map segments to actionable marketing strategies (retention, upsell, win-back)
Validate cluster quality using silhouette score and elbow method
Modules
Data Preparation Module
Cleans transaction logs and aggregates purchase history per customer.
RFM Scoring Module
Computes recency, frequency and monetary quintile scores for every customer.
Clustering Module
Runs K-Means with elbow-method and silhouette analysis to determine optimal segment count.
Segment Profiling Module
Generates per-segment summaries highlighting spending habits and churn risk.
Visualization Module
Plots segment distribution and RFM heatmaps using matplotlib.
Expected Output
The project outputs a labeled customer segmentation table along with visual profiles of each segment, giving marketing teams a ready reference for targeted campaign design. It also produces a reusable scoring pipeline that can be re-run on fresh transaction data.
Future Scope
The segmentation can be integrated with a recommendation engine or a live marketing automation tool to trigger segment-specific offers automatically.