This project is an end-to-end Customer Intelligence System that transforms raw transaction data into actionable business decisions.
It combines:
- RFM segmentation
- Customer clustering
- CLV modeling
- Decision engine (Upsell / Retain / Re-engage)
- Revenue impact simulation
π Goal: Identify high-value customers, detect churn risk, and simulate strategies to maximize revenue.
Most businesses struggle to answer:
- Who are our most valuable customers?
- Which customers are at risk of churn?
- How much revenue is at risk?
- What action should we take?
- What is the financial impact of retention strategies?
- No clear visibility into customer segments
- Revenue loss identified after it happens
- No prioritization of high-value customers
- Marketing spend is not optimized
- Decisions based on assumptions, not data
- Customers segmented using RFM + clustering
- At-risk customers identified proactively
- High-value customers prioritized using CLV
- Clear strategy: Upsell / Retain / Re-engage
- Revenue impact simulated before decisions
- Identified βΉ8.9L+ revenue at risk
- Estimated βΉ2.6L+ recoverable revenue (30% retention scenario)
- Enabled targeted retention strategy instead of generic campaigns
π This shifts the business from: Reactive reporting β Proactive decision-making
- Identify high-value customers
- Detect churn risk early
- Prioritize retention vs upsell
- Simulate revenue recovery
- Support business decision-making
- Recency, Frequency, Monetary scoring
- Behavioral customer grouping
- Segment customers into meaningful groups
- Identify high-value and at-risk users
- Estimate customer value using behavioral data
- Prioritize high-value users
Automatic action assignment:
- Upsell β High-value active customers
- Retain β Medium-risk customers
- Re-engage β At-risk customers
- Nurture β Low-value customers
- Calculates revenue at risk
- Estimates recoverable revenue
Interactive dashboard to answer:
βIf we improve retention by X%, how much revenue can we recover?β
- Total Customers, Revenue, Orders
- Country-level distribution
- Business performance snapshot
- RFM clustering
- Customer behavior vs value analysis
- Strategy allocation
- Revenue contribution by segment
- CLV distribution
- Revenue leakage identification
- Retention rate slider (What-if analysis)
- Revenue at risk vs recovery
- At-risk customer targeting
- Business decision insights
- Python β Data processing
- Pandas / NumPy β Transformation
- Scikit-learn β Clustering
- MySQL β Data storage
- Power BI β Visualization & simulation
customer-intelligence-platform/
β
βββ data/
β βββ raw_transactions.csv
β
βββ src/
β βββ ingestion.py
β βββ transform.py
β βββ rfm.py
β βββ clustering.py
β βββ clv_model.py
β βββ decision_engine.py
β
βββ sql/
β βββ schema.sql
β
βββ app/
β βββ streamlit_app.py
β
βββ powerbi/
β βββ dashboard.pbix
β
βββ assets/
β βββ page1.png
β βββ page2.png
β βββ page3.png
β βββ page4.png
β
βββ main.py
βββ requirements.txt
βββ README.md
git clone https://github.com/<your-username>/customer-intelligence-platform.git
cd customer-intelligence-platform
pip install -r requirements.txt
python main.py
- Load output dataset into Power BI
- Open
dashboard.pbix
- A small percentage of customers drive the majority of revenue
- Significant revenue lies in at-risk segments
- Retention improvements directly impact revenue recovery
β Identifies revenue leakage β Prioritizes high-value customers β Enables proactive retention strategies β Simulates real-world business impact
This is not just a dashboard.
It is a decision intelligence system that:
- Connects data β business strategy
- Moves from reporting β prediction
- Enables simulation β decision-making
Jagadeeswari S Data Analyst | SQL | Power BI | Python
If you found this useful, consider giving it a β



