Documente Academic
Documente Profesional
Documente Cultură
Tentative solution
▫ Churn analysis based on history data
▫ Segmentation and behavioral analysis for targeted
approach
2
Approach to Solution
3
1. Data Processing
Exploratory Data Analysis
▫ 1058598 data points
▫ 03 features
▫ Sales date
▫ Sales amount
▫ Customer ID
▫ Data sample for 41 days not enough to run a thorough
analysis therefore optimum results might not be
achieved
5
6
Data Partioning
▫ Data separated in two based on dates
▫ 28 days for training data (4 weeks)
▫ 12 days for test data
7
Feature Engineering
Frequency / Activity Revenue
▫ DoD Flags ▫ Daily revenue
▫ Wow Flags ▫ Weekly revenue
▫ 7 days activity ▫ 7 days revenue
▫ 3 days Activity ▫ 3 days revenue
▫ Growth based on frequency ▫ Growth based on revenue
▫ Bins based on month’s
revenue
*Node to covert date to days was not working with given data due to unavailability of time of transaction in data
8
2. Churn Prediction
Conditions for Churn Prediction
▫ Customer vise activity check for all 4 weeks (28 days)
▫ Sales made after 28 days in a month
10
Confusion matrix
Iteration 1
17
18
Revenue based Customer Segmentation
cluster_0 cluster_1 cluster_2 cluster_3 cluster_4 cluster_5
Sales Month
0.5
Sales W4 Sales W3
19
Description
Clusters Description
Cluster 0 Notable sales in sales in 28 days, high revenue generated after 28 days
Cluster 1 Segment generates high revenue in week 1
Cluster 2 Segment generates high revenue in week 2
Cluster 3 Segment generates high revenue in week 3. creates overall impact in revenue
Cluster 4 Segment generates high revenue in week 4
Cluster 5 Segment generates revenue in last 3 days of the month
20
4. WorkFlow Snippets
Data Processing 01
22
Data Processing 02
23
Churn Prediction Model
24
Segmentation Model
25
Complete Workflow
26
Thanks!
27